diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2016-04-13 12:24:03 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2016-04-13 12:24:03 +0200 |
commit | 513938e9b1731308535ef45336239f9209e2e396 (patch) | |
tree | c77ec5cfb0fb4df1728f030859a988158182f6c2 /core/src/ch | |
parent | 4d79673572d537a3bfadee71d1d31d82e571bd05 (diff) | |
download | RustAndDust-513938e9b1731308535ef45336239f9209e2e396.zip RustAndDust-513938e9b1731308535ef45336239f9209e2e396.tar.gz |
Unit: fix toString format
Diffstat (limited to 'core/src/ch')
-rw-r--r-- | core/src/ch/asynk/rustanddust/game/Unit.java | 2 |
1 files changed, 1 insertions, 1 deletions
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 |