fix team select menu needing to be closed twice

This commit is contained in:
rtldg 2021-03-23 05:52:26 +00:00
parent 84a4f10f22
commit 6386577ef4

View File

@ -3157,7 +3157,14 @@ public Action Player_Notifications(Event event, const char[] name, bool dontBroa
{
if(gCV_HideTeamChanges.BoolValue)
{
event.BroadcastDisabled = true;
if (StrEqual(name, "player_death"))
{
event.BroadcastDisabled = true;
}
else
{
event.SetBool("silent", true);
}
}
int client = GetClientOfUserId(event.GetInt("userid"));