Skip to content

Commit

Permalink
Fix quest not triggering secret played
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonysegal committed Aug 3, 2021
1 parent fbbc64f commit fd7d525
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,7 @@ private void ZoneChangeFromHand(IHsGameState gameState, int id, IGame game, int
}
break;
case Zone.SECRET:
if(controller == game.Player.Id && gameState.CurrentBlock?.Parent != null)
if(controller == game.Player.Id)
gameState.GameHandler.HandlePlayerSecretPlayed(entity, cardId, gameState.GetTurnNumber(), (Zone)prevValue, currentBlockCardId);
else if(controller == game.Opponent.Id)
{
Expand Down

0 comments on commit fd7d525

Please sign in to comment.