diff --git a/mapchooser_extended/scripting/nominations_extended.sp b/mapchooser_extended/scripting/nominations_extended.sp index 57d688c9..83516cf0 100755 --- a/mapchooser_extended/scripting/nominations_extended.sp +++ b/mapchooser_extended/scripting/nominations_extended.sp @@ -470,7 +470,7 @@ public Action Command_Addmap(int client, int args) } int AverageHourRestricted = GetAveragePlayerTimeOnServerMapRestriction(mapname); - if (AverageHourRestricted > 0) + if (RestrictionsActive && AverageHourRestricted > 0) { PrintToChat(client, "%s requires +%i hours average. Use sm_houravg to check average.", mapname, AverageHourRestricted); return Plugin_Handled; @@ -762,7 +762,7 @@ public Action Command_Nominate(int client, int args) } int AverageHourRestricted = GetAveragePlayerTimeOnServerMapRestriction(mapname); - if (AverageHourRestricted > 0) + if (RestrictionsActive && AverageHourRestricted > 0) { PrintToChat(client, "%s requires +%i hours average. Use sm_houravg to check average.", mapname, AverageHourRestricted); return Plugin_Handled; @@ -1370,7 +1370,7 @@ public int Handler_MapSelectMenu(Menu menu, MenuAction action, int param1, int p } int AverageHourRestricted = GetAveragePlayerTimeOnServerMapRestriction(map); - if (AverageHourRestricted > 0) + if (RestrictionsActive && AverageHourRestricted > 0) { Format(display, sizeof(display), "%s (requires +%i hours average.)", map, AverageHourRestricted); return RedrawMenuItem(display);