From 2d78512ca2b4ded8e884a9b3ff02121ae58eda32 Mon Sep 17 00:00:00 2001 From: Anthony Calosa Date: Sun, 19 Feb 2017 10:14:43 +0800 Subject: [PATCH] bypass gamestate check when there is an opened display for reveal... it will update after its finished... --- projects/mtg/src/GameObserver.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/mtg/src/GameObserver.cpp b/projects/mtg/src/GameObserver.cpp index f95112514..080906bfe 100644 --- a/projects/mtg/src/GameObserver.cpp +++ b/projects/mtg/src/GameObserver.cpp @@ -693,7 +693,7 @@ void GameObserver::gameStateBasedEffects() //////////////////////////////////// //i think this must be limited to reveal display only but we can make an auto close like on android after a targetchooser... //lets see so far... adding this fixes some cards that rely on card count in hand or library or any zone the needs constant card count... - if (OpenedDisplay) + if (OpenedDisplay && (players[0]->game->reveal->cards.size() || players[1]->game->reveal->cards.size())) return; if (mLayers->stackLayer()->count(0, NOT_RESOLVED) != 0) return;