Switch panel priorities between FunMode and FNF
This commit is contained in:
parent
2eff004f4f
commit
a7692c7371
@ -38,6 +38,11 @@ public void OnClientPutInServer(int client)
|
||||
if (!IsItFailnadeTime())
|
||||
return;
|
||||
|
||||
MenuSource iOpenMenu = GetClientMenu(client);
|
||||
|
||||
if (iOpenMenu != MenuSource_None && iOpenMenu == MenuSource_RawPanel) //probably FunMode
|
||||
return;
|
||||
|
||||
Panel hNotifyPanel = new Panel(GetMenuStyleHandle(MenuStyle_Radio));
|
||||
hNotifyPanel.SetTitle("*** It's Fail Nade Friday! ***");
|
||||
hNotifyPanel.DrawItem("", ITEMDRAW_SPACER);
|
||||
|
@ -188,11 +188,6 @@ public void OnClientPutInServer(int client)
|
||||
if (g_bInWarmup)
|
||||
return;
|
||||
|
||||
MenuSource iOpenMenu = GetClientMenu(client);
|
||||
|
||||
if (iOpenMenu != MenuSource_None && iOpenMenu == MenuSource_RawPanel) //probably failnadefriday
|
||||
return;
|
||||
|
||||
Panel hNotifyPanel = new Panel(GetMenuStyleHandle(MenuStyle_Radio));
|
||||
hNotifyPanel.DrawItem("Freezenades vs. Throwing Knives Mode is enabled on this map.", ITEMDRAW_RAWLINE);
|
||||
hNotifyPanel.DrawItem("", ITEMDRAW_SPACER);
|
||||
|
Loading…
Reference in New Issue
Block a user