Skip to content

Commit

Permalink
Prevent wrong info message
Browse files Browse the repository at this point in the history
  • Loading branch information
nickdnk committed Mar 20, 2023
1 parent 6b51763 commit 9852a92
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions scripting/get5.sp
Original file line number Diff line number Diff line change
Expand Up @@ -721,9 +721,11 @@ static Action Timer_InfoMessages(Handle timer) {
PrintVetoHelpMessage();
} else if (g_GameState == Get5State_WaitingForKnifeRoundDecision) {
PromptForKnifeDecision();
} else if (g_GameState == Get5State_PostGame && GetTvDelay() > 0) {
// Handle postgame
Get5_MessageToAll("%t", "WaitingForGOTVBroadcastEnding");
} else if (g_GameState == Get5State_PostGame) {
if (g_ResetCvarsTimer == INVALID_HANDLE && GetTvDelay() > 0) {
// Only print this if the reset timer isn't running, which would mean it's the last map.
Get5_MessageToAll("%t", "WaitingForGOTVBroadcastEnding");
}
}
return Plugin_Continue;
}
Expand Down

0 comments on commit 9852a92

Please sign in to comment.