Core/MapManager: Fix logic in SetMapUpdateInterval()
This commit is contained in:
@@ -71,7 +71,7 @@ class MapManager
|
|||||||
|
|
||||||
void SetMapUpdateInterval(uint32 t)
|
void SetMapUpdateInterval(uint32 t)
|
||||||
{
|
{
|
||||||
if (t > MIN_MAP_UPDATE_DELAY)
|
if (t < MIN_MAP_UPDATE_DELAY)
|
||||||
t = MIN_MAP_UPDATE_DELAY;
|
t = MIN_MAP_UPDATE_DELAY;
|
||||||
|
|
||||||
i_timer.SetInterval(t);
|
i_timer.SetInterval(t);
|
||||||
|
|||||||
Reference in New Issue
Block a user