i had forgot that nominations need to respect cooldown too when low pop

This commit is contained in:
jenz 2024-10-11 14:53:39 +02:00
parent c1371b3241
commit c012ab6581

View File

@ -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];