From c84b7813764ca2b196a632de7fc06c1fab639326 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Sun, 24 Jan 2016 11:19:32 +0100 Subject: Command: add hq attribute in toJson --- core/src/ch/asynk/rustanddust/game/Command.java | 1 + 1 file changed, 1 insertion(+) diff --git a/core/src/ch/asynk/rustanddust/game/Command.java b/core/src/ch/asynk/rustanddust/game/Command.java index dbd0c21..a146257 100644 --- a/core/src/ch/asynk/rustanddust/game/Command.java +++ b/core/src/ch/asynk/rustanddust/game/Command.java @@ -141,6 +141,7 @@ public class Command extends Order json.writeObjectStart("unit"); json.writeValue("id", unitId); json.writeValue("type", unitType); + json.writeValue("hq", unit.hq); json.writeValue("ace", unit.ace); writeTile(json, "tile", unitTile); json.writeObjectEnd(); -- cgit v1.1-2-g2b99