summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2016-01-31 09:58:23 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2016-01-31 09:58:23 +0100
commit402a3a97a81f57a8c56b2eafc014765e0f6de187 (patch)
treeb92671db6b61582d817f99639d7ad7092450a670
parent69525d8238a0b2e04ce2a34f6daac00bd2f2c132 (diff)
downloadRustAndDust-402a3a97a81f57a8c56b2eafc014765e0f6de187.zip
RustAndDust-402a3a97a81f57a8c56b2eafc014765e0f6de187.tar.gz
Player: turnEnd() set apSpent to max
-rw-r--r--core/src/ch/asynk/rustanddust/game/Player.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/src/ch/asynk/rustanddust/game/Player.java b/core/src/ch/asynk/rustanddust/game/Player.java
index f81db0e..1938b55 100644
--- a/core/src/ch/asynk/rustanddust/game/Player.java
+++ b/core/src/ch/asynk/rustanddust/game/Player.java
@@ -179,6 +179,7 @@ public class Player
public void turnEnd()
{
+ apSpent = actionPoints;
for (Unit unit : units)
unit.reset();
}