From b6c09a3a3ecdfcc27f46da9705984df94eb60112 Mon Sep 17 00:00:00 2001 From: Techwizz Date: Sun, 10 Sep 2023 12:10:19 -0600 Subject: [PATCH] TTT was also affected by https://git.techwizz-emu.com/the_adventures_of_teddy/public_issues/issues/1, fixed now --- scripts/HUD.gd | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/scripts/HUD.gd b/scripts/HUD.gd index ccb4473..9646be4 100644 --- a/scripts/HUD.gd +++ b/scripts/HUD.gd @@ -240,11 +240,25 @@ func innocent_dead(): @rpc("any_peer", "reliable") func traitor_wins(): Global.roundInSession = false + Global.iAmSpecial = false + Global.chosenPlayer = null + playerSelected = false + Global.iAmDeadAndInnocent = false + TraitorPlayersKilled = 0 + TTTInnocentDead = false + Global.specialDead = false Global.HUDStartLabelText = "Traitor wins! Round is over!" @rpc("any_peer", "reliable") func traitor_dead(): Global.roundInSession = false + Global.iAmSpecial = false + Global.chosenPlayer = null + playerSelected = false + Global.iAmDeadAndInnocent = false + TraitorPlayersKilled = 0 + TTTInnocentDead = false + Global.specialDead = false Global.HUDStartLabelText = "Traitor is dead! Innocents win!" @rpc("any_peer", "reliable")