blaaaa
This commit is contained in:
parent
d1555374be
commit
0130a0d5f8
@ -836,6 +836,12 @@ public int Handler_MapSelectMenu(Menu menu, MenuAction action, int param1, int p
|
|||||||
else
|
else
|
||||||
strcopy(buffer, sizeof(buffer), map);
|
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_DISABLED) == MAPSTATUS_DISABLED)
|
||||||
{
|
{
|
||||||
if((status & MAPSTATUS_EXCLUDE_CURRENT) == MAPSTATUS_EXCLUDE_CURRENT)
|
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);
|
int TimeRestriction = GetMapTimeRestriction(map);
|
||||||
if(TimeRestriction)
|
if(TimeRestriction)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user