mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 02:38:02 +00:00
Merge branch 'master' into 'master'
Fix the order of elements for Charm effect being random in the UI Closes #940 See merge request core-developers/forge!1861
This commit is contained in:
@@ -1502,7 +1502,7 @@ public class PlayerControllerHuman extends PlayerController implements IGameCont
|
|||||||
game.getTracker().unfreeze();
|
game.getTracker().unfreeze();
|
||||||
}
|
}
|
||||||
final List<AbilitySub> possible = CharmEffect.makePossibleOptions(sa);
|
final List<AbilitySub> possible = CharmEffect.makePossibleOptions(sa);
|
||||||
HashMap<SpellAbilityView, AbilitySub> spellViewCache = new HashMap<>();
|
LinkedHashMap<SpellAbilityView, AbilitySub> spellViewCache = new LinkedHashMap<>();
|
||||||
for (AbilitySub spellAbility : possible) {
|
for (AbilitySub spellAbility : possible) {
|
||||||
spellViewCache.put(spellAbility.getView(), spellAbility);
|
spellViewCache.put(spellAbility.getView(), spellAbility);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user