summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2015-01-21 10:47:48 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2015-01-21 10:47:48 +0100
commit773e6c2b462eb5390d7b3c5f8a85bef95562575e (patch)
tree84a8e7bf9404ec3d771a8d484a02a6ea83866e56
parent7719aaf6334b0425d42aeb579153c0b86ce613ee (diff)
downloadRustAndDust-773e6c2b462eb5390d7b3c5f8a85bef95562575e.zip
RustAndDust-773e6c2b462eb5390d7b3c5f8a85bef95562575e.tar.gz
BattleTest: do not add unit twice
-rw-r--r--core/src/ch/asynk/tankontank/game/battles/BattleTest.java1
1 files changed, 0 insertions, 1 deletions
diff --git a/core/src/ch/asynk/tankontank/game/battles/BattleTest.java b/core/src/ch/asynk/tankontank/game/battles/BattleTest.java
index 3127465..f11b38f 100644
--- a/core/src/ch/asynk/tankontank/game/battles/BattleTest.java
+++ b/core/src/ch/asynk/tankontank/game/battles/BattleTest.java
@@ -74,7 +74,6 @@ public class BattleTest extends BattleCommon
u.setAce(ace);
if (exitZone != null)
unitExit.put(u, exitZone);
- player.addUnit(u);
map.setOnBoard(u, map.getHex(col, row), orientation);
return u;
}