summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/src/ch/asynk/rustanddust/game/hud/PlayerInfo.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/ch/asynk/rustanddust/game/hud/PlayerInfo.java b/core/src/ch/asynk/rustanddust/game/hud/PlayerInfo.java
index 515ba51..ef05187 100644
--- a/core/src/ch/asynk/rustanddust/game/hud/PlayerInfo.java
+++ b/core/src/ch/asynk/rustanddust/game/hud/PlayerInfo.java
@@ -104,7 +104,7 @@ public class PlayerInfo implements Disposable, Drawable, Animation
{
unitDock.hide();
turns.write(String.format("%d", player.getTurn()));
- aps.write(String.format("%d", player.getAp()));
+ aps.write(String.format("%d", player.getCurrentAp()));
int r = player.reinforcement();
if (r == 0) {
reinforcement.visible = false;