diff options
Diffstat (limited to 'core/src/ch/asynk/rustanddust/game')
-rw-r--r-- | core/src/ch/asynk/rustanddust/game/map/Map5Marshal.java | 4 |
1 files changed, 2 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 d73308f..5f4118d 100644 --- a/core/src/ch/asynk/rustanddust/game/map/Map5Marshal.java +++ b/core/src/ch/asynk/rustanddust/game/map/Map5Marshal.java @@ -217,7 +217,7 @@ public abstract class Map5Marshal extends Map4Orders implements Marshal json.writeValue(e.attacker.id); json.writeValue(e.defender.id); json.writeArrayEnd(); - json.writeArrayStart("a"); + json.writeArrayStart("us"); for (Unit u : e.assists) json.writeValue(u.id); json.writeArrayEnd(); @@ -435,7 +435,7 @@ public abstract class Map5Marshal extends Map4Orders implements Marshal JsonValue a = v.get("u"); o.setEngage(findById(a.getInt(0)), findById(a.getInt(1))); - a = v.get("a"); + a = v.get("us"); for (int i = 0; i < a.size; i++) o.engagement.assists.add(findById(a.getInt(i))); |