bypass gamestate check

when there is an opened display for reveal... it will update after its
finished...
This commit is contained in:
Anthony Calosa
2017-02-19 10:14:43 +08:00
parent 84023a5f66
commit 2d78512ca2

View File

@@ -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;