mirror of
https://github.com/correl/mage.git
synced 2025-01-13 11:01:58 +00:00
Fixed a bug. Change stack order after cancel an ability.I did'nt checked if this bug appear with other members of gamestate.
This commit is contained in:
parent
da3c153a10
commit
ad436bbf59
1 changed files with 2 additions and 1 deletions
|
@ -43,8 +43,9 @@ public class SpellStack extends ArrayDeque<StackObject> {
|
|||
public SpellStack () {}
|
||||
|
||||
public SpellStack(final SpellStack stack) {
|
||||
|
||||
for (StackObject spell: stack) {
|
||||
this.push(spell.copy());
|
||||
this.addLast(spell.copy());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue