File tree Expand file tree Collapse file tree 5 files changed +8
-7
lines changed Expand file tree Collapse file tree 5 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -150,7 +150,6 @@ public class RobotPositioning : MatchState {
150150 public override void Start ( ) {
151151 base . Start ( ) ;
152152
153-
154153 PhysicsManager . IsFrozen = true ;
155154 MatchMode . SpawnAllRobots ( ) ;
156155
@@ -220,7 +219,7 @@ public override void Start() {
220219 PhysicsManager . IsFrozen = false ;
221220 }
222221
223- public override void Update ( ) { }
222+ public override void Update ( ) { }
224223
225224 public override void End ( ) {
226225 base . End ( ) ;
Original file line number Diff line number Diff line change @@ -261,7 +261,7 @@ void TweenFinished() {
261261 SubScreenSpaceContent . RootGameObject . SetActive ( true ) ;
262262 }
263263 }
264-
264+
265265 // Unfreeze physics no matter what because it has a counter
266266 PhysicsManager . IsFrozen = false ;
267267
Original file line number Diff line number Diff line change @@ -26,10 +26,10 @@ public override void Create() {
2626 FieldSimObject . DeleteField ( ) ;
2727 MatchMode . ResetMatchConfiguration ( ) ;
2828 }
29-
29+
3030 SimulationRunner . InSim = false ;
3131 DynamicUIManager . CloseAllPanels ( true ) ;
32-
32+
3333 ModeManager . CurrentMode = null ;
3434 SceneManager . LoadScene ( "GridMenuScene" , LoadSceneMode . Single ) ;
3535
Original file line number Diff line number Diff line change @@ -150,7 +150,8 @@ public override void Update() {}
150150
151151 public override void Delete ( ) {
152152 FieldSimObject . CurrentField . ScoringZones . ForEach ( x => {
153- if ( x != null ) x . VisibilityCounter -- ;
153+ if ( x != null )
154+ x . VisibilityCounter -- ;
154155 } ) ;
155156 PhysicsManager . IsFrozen = false ;
156157 }
Original file line number Diff line number Diff line change @@ -109,7 +109,8 @@ public override void Update() {
109109
110110 public override void Delete ( ) {
111111 _robotHighlights . ForEach ( x => {
112- if ( x != null ) Object . Destroy ( x . gameObject ) ;
112+ if ( x != null )
113+ Object . Destroy ( x . gameObject ) ;
113114 } ) ;
114115 }
115116
You can’t perform that action at this time.
0 commit comments