diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/src/ch/asynk/rustanddust/game/map/Map5Marshal.java | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/core/src/ch/asynk/rustanddust/game/map/Map5Marshal.java b/core/src/ch/asynk/rustanddust/game/map/Map5Marshal.java index fed1840..7c30436 100644 --- a/core/src/ch/asynk/rustanddust/game/map/Map5Marshal.java +++ b/core/src/ch/asynk/rustanddust/game/map/Map5Marshal.java @@ -51,7 +51,6 @@ public abstract class Map5Marshal extends Map4Orders implements Marshal private void unloadPlayer(Json json, Player player) { json.writeObjectStart(); - json.writeValue("id", player.id); json.writeValue("a", player.army); json.writeArrayStart("v"); json.writeValue(player.getTurn()); @@ -284,7 +283,6 @@ public abstract class Map5Marshal extends Map4Orders implements Marshal private Player loadPlayer(JsonValue v) { Player p = new Player(Army.valueOf(v.getString("a"))); - p.id = v.getInt("id"); JsonValue a = v.get("v"); p.setTurn(a.getInt(0), a.getInt(1), a.getInt(2)); p.actionCount = a.getInt(3); |