This commit is contained in:
neon 2018-09-24 00:11:51 +02:00
parent d1555374be
commit 0130a0d5f8

View File

@ -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)
{