ensure that popupContainer gets closed with game ends

This commit is contained in:
BetaSteward 2011-08-30 12:41:10 -04:00
parent 9a2b9de6eb
commit 7f93ddbf80
2 changed files with 9 additions and 1 deletions

View file

@ -152,7 +152,7 @@ public class MageActionCallback implements ActionCallback {
public void run() {
ThreadUtils.sleep(700);
if (!popupCard.equals(data.card)) {
if (popupCard == null || !popupCard.equals(data.card)) {
return;
}