File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,6 @@ public class Unit implements Comparable<Unit> {
5353 private final Position initialPosition ;
5454 private final TilePosition initialTilePosition ;
5555 private final int id ;
56- private final int replayID ;
5756 // variable
5857 private Position position ;
5958 private int lastPositionUpdate = -1 ;
@@ -83,7 +82,6 @@ UnitSelf self() {
8382 initialTilePosition = getTilePosition ();
8483
8584 this .id = id ;
86- replayID = unitData .getReplayID ();
8785 }
8886
8987 private static boolean reallyGatheringGas (final Unit targ , final Player player ) {
@@ -136,7 +134,7 @@ public boolean exists() {
136134 * @see #getID
137135 */
138136 public int getReplayID () {
139- return replayID ;
137+ return unitData . getReplayID () ;
140138 }
141139
142140 /**
You can’t perform that action at this time.
0 commit comments