mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 19:28:01 +00:00
- Logic correction in orderAndPlaySimultaneousSa (by pfps).
This commit is contained in:
@@ -1238,8 +1238,8 @@ public class PlayerControllerHuman
|
||||
orderedSAs = getGui().order("Select order for simultaneous abilities", "Resolve first", activePlayerSAs, null);
|
||||
//save order to avoid needing to prompt a second time to order the same abilties
|
||||
savedOrder = new ArrayList<Integer>(activePlayerSAs.size());
|
||||
for (SpellAbility sa : activePlayerSAs) {
|
||||
savedOrder.add(orderedSAs.indexOf(sa));
|
||||
for (SpellAbility sa : orderedSAs) {
|
||||
savedOrder.add(activePlayerSAs.indexOf(sa));
|
||||
}
|
||||
orderedSALookup.put(saLookupKey, savedOrder);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user