From 51beae9849cf01ece356839722866790717906be Mon Sep 17 00:00:00 2001 From: Anton Tarasenko Date: Sun, 17 Jul 2022 02:30:35 +0700 Subject: [PATCH] Change to support Acedia's new shutdown proces --- sources/Packages.uc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sources/Packages.uc b/sources/Packages.uc index cfe9ce4..9f984df 100644 --- a/sources/Packages.uc +++ b/sources/Packages.uc @@ -81,6 +81,7 @@ private simulated function InitializeClient() return; } default.selfReference = self; + // TODO: Swap these around after dealing with aliases class'ClientLevelCore'.static.CreateLevelCore(self); _ = class'Global'.static.GetInstance(); } @@ -103,6 +104,7 @@ private function InitializeServer() } default.selfReference = self; // Launch and setup core Acedia + // TODO: Swap these around after dealing with aliases serverCore = class'ServerLevelCore'.static.CreateLevelCore(self); _ = class'Global'.static.GetInstance(); _server = class'ServerGlobal'.static.GetInstance(); @@ -148,9 +150,7 @@ function ServerTraveling(string URL, bool bItems) votingAdapter = none; } default.selfReference = none; - _.environment.DisableAllFeatures(); - class'UnrealService'.static.Require().Destroy(); - class'ServerLevelCore'.static.GetInstance().Destroy(); + _.environment.ShutDown(); if (nextMutator != none) { nextMutator.ServerTraveling(URL, bItems); }