summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/rustanddust/game/states
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/ch/asynk/rustanddust/game/states')
-rw-r--r--core/src/ch/asynk/rustanddust/game/states/StateEngage.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/ch/asynk/rustanddust/game/states/StateEngage.java b/core/src/ch/asynk/rustanddust/game/states/StateEngage.java
index 0d342ad..2345aa0 100644
--- a/core/src/ch/asynk/rustanddust/game/states/StateEngage.java
+++ b/core/src/ch/asynk/rustanddust/game/states/StateEngage.java
@@ -53,13 +53,13 @@ public class StateEngage extends StateCommon
{
StateType nextState = StateType.DONE;
if (map.engageUnit(selectedUnit, activeUnit)) {
- ctrl.battle.getPlayer().wonEngagementCount += 1;
+ ctrl.battle.getPlayer().engagementWon += 1;
ctrl.battle.getOpponent().casualty(activeUnit);
if (map.unitsBreakThroughSize() > 0) {
nextState = StateType.BREAK;
}
} else {
- ctrl.battle.getPlayer().lostEngagementCount += 1;
+ ctrl.battle.getPlayer().engagementLost += 1;
}
activeUnit.showTarget();