mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-09-05 14:58:27 +00:00
Move dZoneManager to game namespace (#1143)
* convert zone manager to game namespace * Destroy logger last
This commit is contained in:
@@ -6,7 +6,7 @@ void BaseWavesGenericEnemy::OnStartup(Entity* self) {
|
||||
}
|
||||
|
||||
void BaseWavesGenericEnemy::OnDie(Entity* self, Entity* killer) {
|
||||
auto* zoneControlObject = dZoneManager::Instance()->GetZoneControlObject();
|
||||
auto* zoneControlObject = Game::zoneManager->GetZoneControlObject();
|
||||
if (zoneControlObject != nullptr) {
|
||||
zoneControlObject->OnFireEventServerSide(killer, "Survival_Update", GetPoints());
|
||||
}
|
||||
|
Reference in New Issue
Block a user