mirror of
https://github.com/shavitush/bhoptimer.git
synced 2025-12-07 18:38:26 +00:00
fix team select menu needing to be closed twice
This commit is contained in:
parent
84a4f10f22
commit
6386577ef4
@ -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"));
|
||||
|
||||
Loading…
Reference in New Issue
Block a user