This commit is contained in:
neon 2018-09-22 12:16:54 +02:00
parent e2a2c37d97
commit 92d33a1b0c

View File

@ -843,7 +843,7 @@ public int Handler_MapSelectMenu(Menu menu, MenuAction action, int param1, int p
}
bool VIPRestriction = GetMapVIPRestriction(map);
if((VIPRestriction) && !(CheckCommandAccess(param1, "sm_tag", ADMFLAG_CUSTOM1) || CheckCommandAccess(param1, "sm_kick", ADMFLAG_KICK)))
if(VIPRestriction && !(CheckCommandAccess(param1, "sm_tag", ADMFLAG_CUSTOM1) || CheckCommandAccess(param1, "sm_kick", ADMFLAG_KICK)))
{
Format(display, sizeof(display), "%s (%T)", buffer, "VIP Restriction", param1);
return RedrawMenuItem(display);