* Tergrid, God of Fright - fixed rollback with disconnected people;

This commit is contained in:
Oleg Agafonov 2021-09-05 15:09:25 +04:00
parent 09d8ee3dce
commit b7f15772e8

View file

@ -211,6 +211,10 @@ class TergridsLaternEffect extends OneShotEffect {
choice.setChoices(choiceSet);
targetedPlayer.choose(aiOutcome, choice, game);
chosen = choice.getChoice();
if (chosen == null) {
// on disconnect
chosen = LIFE_LOSS_CHOICE;
}
} else {
chosen = LIFE_LOSS_CHOICE;
}