mapchooser_extended: fix bug
This commit is contained in:
parent
21a2d72c6d
commit
fc65cd14a4
@ -2412,6 +2412,7 @@ stock int InternalGetMapCooldownTime(const char[] map)
|
|||||||
if(g_Config && g_Config.JumpToKey(map))
|
if(g_Config && g_Config.JumpToKey(map))
|
||||||
{
|
{
|
||||||
g_Config.GetString("CooldownTime", time, sizeof(time), "");
|
g_Config.GetString("CooldownTime", time, sizeof(time), "");
|
||||||
|
if(time[0])
|
||||||
Cooldown = TimeStrToSeconds(time);
|
Cooldown = TimeStrToSeconds(time);
|
||||||
|
|
||||||
g_Config.Rewind();
|
g_Config.Rewind();
|
||||||
|
Loading…
Reference in New Issue
Block a user