File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
src/main/java/funorb/shatteredplans/client/game Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -159,16 +159,17 @@ public final void resetSystemState() {
159159 public final void setMap (final Map map ) {
160160 this .map = map ;
161161 this .maxUnitScalingFactor = (float ) (this .map .drawingWidth * 300 / 450 );
162- final SystemHighlight [] var3 = new SystemHighlight [this .map .systems .length ];
163- final boolean [] var4 = new boolean [this .map .systems .length ];
162+ final SystemHighlight [] highlightedSystems = new SystemHighlight [this .map .systems .length ];
163+ Arrays .fill (highlightedSystems , SystemHighlight .NONE );
164+ final boolean [] retreatTargets = new boolean [this .map .systems .length ];
164165
165166 for (int i = 0 ; i < this .highlightedSystems .length ; ++i ) {
166- var3 [i ] = this .highlightedSystems [i ];
167- var4 [i ] = this .retreatTargets [i ];
167+ highlightedSystems [i ] = this .highlightedSystems [i ];
168+ retreatTargets [i ] = this .retreatTargets [i ];
168169 }
169170
170- this .highlightedSystems = var3 ;
171- this .retreatTargets = var4 ;
171+ this .highlightedSystems = highlightedSystems ;
172+ this .retreatTargets = retreatTargets ;
172173 this .a487 ();
173174 }
174175
You can’t perform that action at this time.
0 commit comments