From 513938e9b1731308535ef45336239f9209e2e396 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Wed, 13 Apr 2016 12:24:03 +0200 Subject: Unit: fix toString format --- core/src/ch/asynk/rustanddust/game/Unit.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/ch/asynk/rustanddust/game/Unit.java b/core/src/ch/asynk/rustanddust/game/Unit.java index 1efb607..8ee6e68 100644 --- a/core/src/ch/asynk/rustanddust/game/Unit.java +++ b/core/src/ch/asynk/rustanddust/game/Unit.java @@ -92,7 +92,7 @@ public class Unit extends HeadedPawn private void updateDescr() { - this.descr = String.format("[%d] %s%s%s (%d - %d", id, code.toString(), (hq ? " HQ" : ""), (ace ? " Ace" : ""), rng, def); + this.descr = String.format("[%d] %s%s%s (%d - %d ", id, code.toString(), (hq ? " HQ" : ""), (ace ? " Ace" : ""), rng, def); if (cdef == -1) this.descr += "-" + mp + ")"; else -- cgit v1.1-2-g2b99