TTT was also affected by the_adventures_of_teddy/public_issues#1, fixed now

This commit is contained in:
Paul Black 2023-09-10 12:10:19 -06:00
parent 76b78dca69
commit b6c09a3a3e

View file

@ -240,11 +240,25 @@ func innocent_dead():
@rpc("any_peer", "reliable") @rpc("any_peer", "reliable")
func traitor_wins(): func traitor_wins():
Global.roundInSession = false 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!" Global.HUDStartLabelText = "Traitor wins! Round is over!"
@rpc("any_peer", "reliable") @rpc("any_peer", "reliable")
func traitor_dead(): func traitor_dead():
Global.roundInSession = false 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!" Global.HUDStartLabelText = "Traitor is dead! Innocents win!"
@rpc("any_peer", "reliable") @rpc("any_peer", "reliable")