From 773e6c2b462eb5390d7b3c5f8a85bef95562575e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Wed, 21 Jan 2015 10:47:48 +0100 Subject: BattleTest: do not add unit twice --- core/src/ch/asynk/tankontank/game/battles/BattleTest.java | 1 - 1 file changed, 1 deletion(-) 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; } -- cgit v1.1-2-g2b99