Core/Time: Remove artificially high minimal update intervals

Port From (https://github.com/TrinityCore/TrinityCore/commit/3a67e376811743be208da4aab8a9e452e1ae637e)
This commit is contained in:
hondacrx
2022-02-22 13:54:46 -05:00
parent 8ce8408f91
commit 338a861cd9
5 changed files with 14 additions and 13 deletions
+1 -1
View File
@@ -257,7 +257,7 @@ namespace Game
Values[WorldCfg.IntervalGridclean] = MapConst.MinGridDelay;
}
Values[WorldCfg.IntervalMapupdate] = GetDefaultValue("MapUpdateInterval", 100);
Values[WorldCfg.IntervalMapupdate] = GetDefaultValue("MapUpdateInterval", 10);
if ((int)Values[WorldCfg.IntervalMapupdate] < MapConst.MinMapUpdateDelay)
{
Log.outError(LogFilter.ServerLoading, "MapUpdateInterval ({0}) must be greater {1}. Use this minimal value.", Values[WorldCfg.IntervalMapupdate], MapConst.MinMapUpdateDelay);