Core/GameObjects: Update spawn group conditions immediately after battleground capture point changes state (#28611)

This commit is contained in:
Jeremy
2022-12-22 17:28:26 +01:00
committed by GitHub
parent 0eef877923
commit 8023daabef
2 changed files with 4 additions and 1 deletions
@@ -3879,6 +3879,8 @@ void GameObject::UpdateCapturePoint()
bg->UpdateWorldState(GetGOInfo()->capturePoint.worldState1, AsUnderlyingType(m_goValue.CapturePoint.State));
}
}
GetMap()->UpdateSpawnGroupConditions();
}
bool GameObject::CanInteractWithCapturePoint(Player const* target) const