mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 04:38:00 +00:00
fix restoring tapped and summon sick state
This commit is contained in:
@@ -189,9 +189,12 @@ public class GameState {
|
||||
if (kv.getKey() == ZoneType.Battlefield) {
|
||||
p.getZone(kv.getKey()).setCards(new ArrayList<Card>());
|
||||
for (final Card c : kv.getValue()) {
|
||||
boolean tapped = c.isTapped();
|
||||
boolean sickness = c.hasSickness();
|
||||
p.getZone(ZoneType.Hand).add(c);
|
||||
p.getGame().getAction().moveToPlay(c);
|
||||
c.setSickness(false);
|
||||
c.setTapped(tapped);
|
||||
c.setSickness(sickness);
|
||||
}
|
||||
} else {
|
||||
p.getZone(kv.getKey()).setCards(kv.getValue());
|
||||
|
||||
Reference in New Issue
Block a user