summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2015-02-18 17:22:21 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2015-02-18 17:22:21 +0100
commitc495a7ef6ae46304ca6e59833e48d0d70a2c6800 (patch)
tree42fa7ca05384e3775f33571c426071329996f661 /core
parentdbfe74b54ce544752ba66abb795f29a9e032d0dd (diff)
downloadRustAndDust-c495a7ef6ae46304ca6e59833e48d0d70a2c6800.zip
RustAndDust-c495a7ef6ae46304ca6e59833e48d0d70a2c6800.tar.gz
Command: fix toString
Diffstat (limited to 'core')
-rw-r--r--core/src/ch/asynk/tankontank/game/Command.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/ch/asynk/tankontank/game/Command.java b/core/src/ch/asynk/tankontank/game/Command.java
index ab809af..be4540f 100644
--- a/core/src/ch/asynk/tankontank/game/Command.java
+++ b/core/src/ch/asynk/tankontank/game/Command.java
@@ -64,7 +64,7 @@ public class Command extends Order
@Override
public String toString()
{
- return String.format("%s %s : ", type, unit.id);
+ return String.format("%s : %s", type, unit.id);
}
public void setMove(Unit unit, Move move)