From fc0cf498781e438d3f3e899461d1dca54dba2ca7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Sun, 27 Mar 2016 00:19:53 +0100 Subject: Map4Orders: doPromote removes unit from activableUnits --- core/src/ch/asynk/rustanddust/game/map/Map4Orders.java | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.1-2-g2b99