- Renamed setChangeZoneLKIInfo to addChangeZoneLKIInfo (better represents what the method does).

This commit is contained in:
Agetian
2015-10-14 05:50:25 +00:00
parent e072e2e6df
commit 08f6b5a4b8
2 changed files with 2 additions and 2 deletions

View File

@@ -146,7 +146,7 @@ public class Game {
// methods that deal with saving, retrieving and clearing LKI information about cards on zone change
private final HashMap<Integer, Card> changeZoneLKIInfo = new HashMap<>();
public final void setChangeZoneLKIInfo(Card c) {
public final void addChangeZoneLKIInfo(Card c) {
if (c == null) {
return;
}

View File

@@ -142,7 +142,7 @@ public class GameAction {
if (zoneFrom != null && zoneTo != null && !zoneFrom.is(ZoneType.Stack) && !zoneTo.is(ZoneType.Stack)
&& !zoneFrom.is(ZoneType.Flashback) && !zoneTo.is(ZoneType.Flashback)) {
game.setChangeZoneLKIInfo(c);
game.addChangeZoneLKIInfo(c);
}
boolean suppress = !c.isToken() && zoneFrom.equals(zoneTo);