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> {
53
53
private final Position initialPosition ;
54
54
private final TilePosition initialTilePosition ;
55
55
private final int id ;
56
- private final int replayID ;
57
56
// variable
58
57
private Position position ;
59
58
private int lastPositionUpdate = -1 ;
@@ -83,7 +82,6 @@ UnitSelf self() {
83
82
initialTilePosition = getTilePosition ();
84
83
85
84
this .id = id ;
86
- replayID = unitData .getReplayID ();
87
85
}
88
86
89
87
private static boolean reallyGatheringGas (final Unit targ , final Player player ) {
@@ -136,7 +134,7 @@ public boolean exists() {
136
134
* @see #getID
137
135
*/
138
136
public int getReplayID () {
139
- return replayID ;
137
+ return unitData . getReplayID () ;
140
138
}
141
139
142
140
/**
You can’t perform that action at this time.
0 commit comments