Core/BattlegroundMap: Load all cells when created & mark all creatures as active

Port From (https://github.com/TrinityCore/TrinityCore/commit/e72bde5236d41a7f66abb25ce9e118eeb1c5aa92)
This commit is contained in:
hondacrx
2024-02-03 11:15:25 -05:00
parent 7557fac40c
commit 226e12890e
5 changed files with 27 additions and 0 deletions
+1
View File
@@ -227,6 +227,7 @@ namespace Game
Values[WorldCfg.InstancemapLoadGrids] = false;
}
Values[WorldCfg.BattlegroundMapLoadGrids] = GetDefaultValue("BattlegroundMapLoadAllGrids", true);
Values[WorldCfg.IntervalSave] = GetDefaultValue("PlayerSaveInterval", 15 * Time.Minute * Time.InMilliseconds);
Values[WorldCfg.IntervalDisconnectTolerance] = GetDefaultValue("DisconnectToleranceInterval", 0);
Values[WorldCfg.StatsSaveOnlyOnLogout] = GetDefaultValue("PlayerSave.Stats.SaveOnlyOnLogout", true);