mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-10-11 09:58:05 +00:00
Move dZoneManager to game namespace (#1143)
* convert zone manager to game namespace * Destroy logger last
This commit is contained in:
@@ -13,7 +13,7 @@ void CavePrisonCage::OnStartup(Entity* self) {
|
||||
return;
|
||||
}
|
||||
|
||||
auto* spawner = dZoneManager::Instance()->GetSpawnersByName("PrisonCounterweight_0" + GeneralUtils::UTF16ToWTF8(myNum))[0];
|
||||
auto* spawner = Game::zoneManager->GetSpawnersByName("PrisonCounterweight_0" + GeneralUtils::UTF16ToWTF8(myNum))[0];
|
||||
|
||||
self->SetVar<Spawner*>(u"CWSpawner", spawner);
|
||||
|
||||
|
Reference in New Issue
Block a user