shavit-replay-playback.sp - close replay menu on spawn (if it's open)

This commit is contained in:
olivia 2025-07-01 06:25:03 -07:00 committed by GitHub
parent 14b9674962
commit c0d5efb309
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2763,6 +2763,12 @@ public void Player_Event(Event event, const char[] name, bool dontBroadcast)
KickReplay(gA_BotInfo[index]);
}
}
if(IsPlayerAlive(client) && gB_InReplayMenu[client])
{
CancelClientMenu(client);
gB_InReplayMenu[client] = false;
}
}
public Action BotEvents(Event event, const char[] name, bool dontBroadcast)