summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2016-03-27 00:19:53 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2016-03-27 00:19:53 +0100
commitfc0cf498781e438d3f3e899461d1dca54dba2ca7 (patch)
tree316b8c30512b126680361f05c47fb2dd850f4f98 /core/src/ch/asynk
parent93fd5138ed2363d057b67be96198eb1312973586 (diff)
downloadRustAndDust-fc0cf498781e438d3f3e899461d1dca54dba2ca7.zip
RustAndDust-fc0cf498781e438d3f3e899461d1dca54dba2ca7.tar.gz
Map4Orders: doPromote removes unit from activableUnits
Diffstat (limited to 'core/src/ch/asynk')
-rw-r--r--core/src/ch/asynk/rustanddust/game/map/Map4Orders.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/src/ch/asynk/rustanddust/game/map/Map4Orders.java b/core/src/ch/asynk/rustanddust/game/map/Map4Orders.java
index c982b2b..d19bb83 100644
--- a/core/src/ch/asynk/rustanddust/game/map/Map4Orders.java
+++ b/core/src/ch/asynk/rustanddust/game/map/Map4Orders.java
@@ -189,6 +189,7 @@ public abstract class Map4Orders extends Map3Animations
private boolean doPromote(final Unit unit)
{
+ activableUnits.remove(unit);
activatedUnits.add(unit);
addPromoteAnimation(unit, battle.getPlayer(), new Runnable() {
@Override