diff --git a/Source/Game/Maps/MapManager.cs b/Source/Game/Maps/MapManager.cs index 2191b10aa..b65c59338 100644 --- a/Source/Game/Maps/MapManager.cs +++ b/Source/Game/Maps/MapManager.cs @@ -296,7 +296,7 @@ namespace Game.Entities var time = (uint)i_timer.GetCurrent(); foreach (var (key, map) in i_maps) { - if (map.CanUnload(diff)) + if (map.CanUnload((uint)i_timer.GetCurrent())) { if (DestroyMap(map)) i_maps.Remove(key);