mapchooser_extended: fix bug

This commit is contained in:
BotoX 2019-09-19 21:07:02 +02:00
parent 21a2d72c6d
commit fc65cd14a4

View File

@ -2412,7 +2412,8 @@ stock int InternalGetMapCooldownTime(const char[] map)
if(g_Config && g_Config.JumpToKey(map))
{
g_Config.GetString("CooldownTime", time, sizeof(time), "");
Cooldown = TimeStrToSeconds(time);
if(time[0])
Cooldown = TimeStrToSeconds(time);
g_Config.Rewind();
}