diff --git a/mapchooser_extended/scripting/nominations_extended.sp b/mapchooser_extended/scripting/nominations_extended.sp index 0d5547f..d80cb3a 100644 --- a/mapchooser_extended/scripting/nominations_extended.sp +++ b/mapchooser_extended/scripting/nominations_extended.sp @@ -859,10 +859,9 @@ 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) { - Format(display, sizeof(display), "%s (%T)", buffer, "VIP Restriction", param1); - return RedrawMenuItem(display); + Format(buffer, sizeof(buffer), "%s (%T)", buffer, "VIP Restriction", param1); } int TimeRestriction = GetMapTimeRestriction(map); @@ -890,6 +889,11 @@ public int Handler_MapSelectMenu(Menu menu, MenuAction action, int param1, int p return RedrawMenuItem(display); } + if(VIPRestriction) + { + return RedrawMenuItem(buffer); + } + if(mark && !official) return RedrawMenuItem(buffer);