Core/GameObject: Update spawn conditions when new ControlZone event is triggered

Port From (https://github.com/TrinityCore/TrinityCore/commit/0aa61e93419612ef34c73ae82bb95bdcf616d484)
This commit is contained in:
hondacrx
2024-02-01 09:15:59 -05:00
parent 0140b20bad
commit c7c5b74497
@@ -4713,6 +4713,7 @@ namespace Game.Entities
if (eventId <= 0)
return;
_owner.GetMap().UpdateSpawnGroupConditions();
GameEvents.Trigger(eventId, _owner, null);
}