summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/src/ch/asynk/tankontank/game/Player.java7
1 files changed, 3 insertions, 4 deletions
diff --git a/core/src/ch/asynk/tankontank/game/Player.java b/core/src/ch/asynk/tankontank/game/Player.java
index e43e892..d5eba9b 100644
--- a/core/src/ch/asynk/tankontank/game/Player.java
+++ b/core/src/ch/asynk/tankontank/game/Player.java
@@ -164,15 +164,14 @@ public class Player
turn += 1;
else
deploymentDone = (reinforcement.size() == 0);
+ for (Unit unit : units)
+ unit.reset();
}
public void turnStart()
{
- if (isDeploymentDone()) {
- for (Unit unit : units)
- unit.reset();
+ if (isDeploymentDone())
computeActionPoints();
- }
}
public int d6()