mirror of
https://github.com/shavitush/bhoptimer.git
synced 2025-12-09 03:18:25 +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)
|
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"));
|
int client = GetClientOfUserId(event.GetInt("userid"));
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user