From 0130a0d5f8624a25b89da153cffb3d5ff9d91d8b Mon Sep 17 00:00:00 2001 From: neon <> Date: Mon, 24 Sep 2018 00:11:51 +0200 Subject: [PATCH] blaaaa --- .../scripting/nominations_extended.sp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/mapchooser_extended/scripting/nominations_extended.sp b/mapchooser_extended/scripting/nominations_extended.sp index 0c8b114..9fe9c14 100644 --- a/mapchooser_extended/scripting/nominations_extended.sp +++ b/mapchooser_extended/scripting/nominations_extended.sp @@ -836,6 +836,12 @@ public int Handler_MapSelectMenu(Menu menu, MenuAction action, int param1, int p else strcopy(buffer, sizeof(buffer), map); + bool VIPRestriction = GetMapVIPRestriction(map); + if(VIPRestriction) + { + Format(buffer, sizeof(buffer), "%s (%T)", buffer, "VIP Restriction", param1); + } + if((status & MAPSTATUS_DISABLED) == MAPSTATUS_DISABLED) { if((status & MAPSTATUS_EXCLUDE_CURRENT) == MAPSTATUS_EXCLUDE_CURRENT) @@ -858,12 +864,6 @@ public int Handler_MapSelectMenu(Menu menu, MenuAction action, int param1, int p } } - bool VIPRestriction = GetMapVIPRestriction(map); - if(VIPRestriction) - { - Format(buffer, sizeof(buffer), "%s (%T)", buffer, "VIP Restriction", param1); - } - int TimeRestriction = GetMapTimeRestriction(map); if(TimeRestriction) {