diff --git a/Source/Game/Entities/GameObject/GameObject.cs b/Source/Game/Entities/GameObject/GameObject.cs index bad903f90..78e3bf7de 100644 --- a/Source/Game/Entities/GameObject/GameObject.cs +++ b/Source/Game/Entities/GameObject/GameObject.cs @@ -3478,6 +3478,8 @@ namespace Game.Entities bg.UpdateWorldState((int)GetGoInfo().CapturePoint.worldState1, (byte)m_goValue.CapturePoint.State); } } + + GetMap().UpdateSpawnGroupConditions(); } public bool CanInteractWithCapturePoint(Player target) diff --git a/Source/Game/Maps/Map.cs b/Source/Game/Maps/Map.cs index 6d4d194cd..266960979 100644 --- a/Source/Game/Maps/Map.cs +++ b/Source/Game/Maps/Map.cs @@ -2382,7 +2382,7 @@ namespace Game.Maps return _toggledSpawnGroupIds.Contains(groupId) != !data.flags.HasAnyFlag(SpawnGroupFlags.ManualSpawn); } - void UpdateSpawnGroupConditions() + public void UpdateSpawnGroupConditions() { var spawnGroups = Global.ObjectMgr.GetSpawnGroupsForMap(GetId()); foreach (uint spawnGroupId in spawnGroups)