Skip to content

Commit

Permalink
Bug fixed that caused fatal reactions to custom commands to not resul…
Browse files Browse the repository at this point in the history
…t in player death
  • Loading branch information
ben_singer committed Sep 11, 2024
1 parent 748d263 commit 997bc9a
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,10 @@ public class Game(
}
}

if (reaction.result == ReactionResult.FATAL) {
player.kill()
}

if (displayReactionToInput) {
handleReaction(reaction)
}
Expand Down

0 comments on commit 997bc9a

Please sign in to comment.