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

@ -3156,9 +3156,16 @@ void RemoveRadar(any data)
public Action Player_Notifications(Event event, const char[] name, bool dontBroadcast)
{
if(gCV_HideTeamChanges.BoolValue)
{
if (StrEqual(name, "player_death"))
{
event.BroadcastDisabled = true;
}
else
{
event.SetBool("silent", true);
}
}
int client = GetClientOfUserId(event.GetInt("userid"));