diff options
Diffstat (limited to 'core/src/ch/asynk')
-rw-r--r-- | core/src/ch/asynk/tankontank/game/battles/BattleHeadToHead.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/ch/asynk/tankontank/game/battles/BattleHeadToHead.java b/core/src/ch/asynk/tankontank/game/battles/BattleHeadToHead.java index e8c6850..fefc1d2 100644 --- a/core/src/ch/asynk/tankontank/game/battles/BattleHeadToHead.java +++ b/core/src/ch/asynk/tankontank/game/battles/BattleHeadToHead.java @@ -25,7 +25,7 @@ public class BattleHeadToHead extends BattleCommon public Player checkVictory(Ctrl ctrl) { if (ctrl.opponent.unitsLeft() == 0) - return null; + return ctrl.player; if ((ctrl.player.getTurn() < 10) || (ctrl.opponent.getTurn() < 10)) return null; |