diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2016-03-27 00:19:53 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2016-03-27 00:19:53 +0100 |
commit | fc0cf498781e438d3f3e899461d1dca54dba2ca7 (patch) | |
tree | 316b8c30512b126680361f05c47fb2dd850f4f98 | |
parent | 93fd5138ed2363d057b67be96198eb1312973586 (diff) | |
download | RustAndDust-fc0cf498781e438d3f3e899461d1dca54dba2ca7.zip RustAndDust-fc0cf498781e438d3f3e899461d1dca54dba2ca7.tar.gz |
Map4Orders: doPromote removes unit from activableUnits
-rw-r--r-- | core/src/ch/asynk/rustanddust/game/map/Map4Orders.java | 1 |
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 |