From c012ab6581ee982cae303c5177b97942617e2362 Mon Sep 17 00:00:00 2001 From: jenz Date: Fri, 11 Oct 2024 14:53:39 +0200 Subject: [PATCH] i had forgot that nominations need to respect cooldown too when low pop --- mapchooser_extended/scripting/nominations_extended_avg.sp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mapchooser_extended/scripting/nominations_extended_avg.sp b/mapchooser_extended/scripting/nominations_extended_avg.sp index 49483ac8..62d06c61 100755 --- a/mapchooser_extended/scripting/nominations_extended_avg.sp +++ b/mapchooser_extended/scripting/nominations_extended_avg.sp @@ -426,7 +426,7 @@ public Action Command_Addmap(int client, int args) } int Cooldown = GetMapCooldownTime(mapname); - if(RestrictionsActive && Cooldown > GetTime()) + if(Cooldown > GetTime()) { int Seconds = Cooldown - GetTime(); CPrintToChat(client, "[NE] %t", "Map Cooldown Time Error", Seconds / 3600, (Seconds % 3600) / 60); @@ -702,7 +702,7 @@ public Action Command_Nominate(int client, int args) } int Cooldown = GetMapCooldownTime(mapname); - if(RestrictionsActive && Cooldown > GetTime()) + if(Cooldown > GetTime()) { int Seconds = Cooldown - GetTime(); CPrintToChat(client, "[NE] %t", "Map Cooldown Time Error", Seconds / 3600, (Seconds % 3600) / 60); @@ -1323,7 +1323,7 @@ public int Handler_MapSelectMenu(Menu menu, MenuAction action, int param1, int p } int Cooldown = GetMapCooldownTime(map); - if(RestrictionsActive && Cooldown > GetTime()) + if(Cooldown > GetTime()) { int Seconds = Cooldown - GetTime(); char time[16];