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")