mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-10-25 08:48:12 +00:00
Upgraded to new APIs
This commit is contained in:
@@ -535,7 +535,7 @@ int main(int argc, char** argv) {
|
||||
}
|
||||
}
|
||||
|
||||
auto* controller = dZoneManager::Instance()->GetZoneControlObject();
|
||||
auto* controller = Game::zoneManager->GetZoneControlObject();
|
||||
|
||||
if (controller != nullptr && controller->HasVar(u"shutdown") && controller->GetVar<bool>(u"shutdown")) {
|
||||
Game::shouldShutdown = true;
|
||||
|
||||
Reference in New Issue
Block a user