There’s no way for me to check the logs for an end game event because it’s just me in the game test.
I’ve adjusted the code to this:
EndRound()<suspends>:void=
PropTeam.HeartBeat.DisableAll()
# Get any player to pass to EndRound
PropTeamEmpty := PropTeam.TeamEmptyEvent.Await()
HunterTeamEmpty := HunterTeam.TeamEmptyEvent.Await()
RoundEnded := RoundTimer.AwaitEnd()
Players:[]player = GetPlayspace().GetPlayers()
if (RoundEndInstigator := Players[0]):
Logger.Print("Round ended.")
if (PropTeamEmpty = true):
HuntersWinMessage.Show()
Logger.Print("Hunter Team wins.")
if (HunterTeamEmpty = true or RoundEnded = true):
PropsWinMessage.Show()
Logger.Print("Prop Team wins.")
RoundSettings.EndRound(RoundEndInstigator)
I get no errors in the code, but nothing happens when I test the game with a friend.