summaryrefslogtreecommitdiffstats
path: root/core/src
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2016-04-13 12:24:03 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2016-04-13 12:24:03 +0200
commit513938e9b1731308535ef45336239f9209e2e396 (patch)
treec77ec5cfb0fb4df1728f030859a988158182f6c2 /core/src
parent4d79673572d537a3bfadee71d1d31d82e571bd05 (diff)
downloadRustAndDust-513938e9b1731308535ef45336239f9209e2e396.zip
RustAndDust-513938e9b1731308535ef45336239f9209e2e396.tar.gz
Unit: fix toString format
Diffstat (limited to 'core/src')
-rw-r--r--core/src/ch/asynk/rustanddust/game/Unit.java2
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