From 80a9ec58072281b3798957932bde05c9a6dc2133 Mon Sep 17 00:00:00 2001 From: j Date: Mon, 25 Mar 2024 23:53:42 -0400 Subject: [PATCH] updated game state with death flag to end game --- src/game/gameState.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/game/gameState.ts b/src/game/gameState.ts index 84509b3..1d0fd5d 100644 --- a/src/game/gameState.ts +++ b/src/game/gameState.ts @@ -31,6 +31,7 @@ class GameState { tacticsChoiceWhenAttacked: number = 0; actionChoiceForEachTurn: number = 0; fortOptionFlag: boolean = false; + death: boolean = false; constructor(authorId: string) { // Load existing session for authorId or create default values