Core/GameObjects: Update spawn group conditions immediately after battleground capture point changes state

Port From (https://github.com/TrinityCore/TrinityCore/commit/8023daabef52d401cf361282f32c0bbbaf206702)
This commit is contained in:
hondacrx
2023-01-04 16:52:02 -05:00
parent 25f08ed6c9
commit 07a3ce8df6
2 changed files with 3 additions and 1 deletions
@@ -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)