mirror of
https://github.com/correl/mage.git
synced 2024-12-26 03:00:11 +00:00
* Tergrid, God of Fright - fixed rollback with disconnected people;
This commit is contained in:
parent
09d8ee3dce
commit
b7f15772e8
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue