From e553d1a08e74e2aaa80b37a21e58b6ec1db75979 Mon Sep 17 00:00:00 2001 From: Anton Tarasenko Date: Mon, 6 Mar 2023 03:29:44 +0700 Subject: [PATCH] Fix `DBAPI` relying on server core API instead of generic one --- sources/Data/Database/DBAPI.uc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources/Data/Database/DBAPI.uc b/sources/Data/Database/DBAPI.uc index d176e08..54ab288 100644 --- a/sources/Data/Database/DBAPI.uc +++ b/sources/Data/Database/DBAPI.uc @@ -329,7 +329,7 @@ private function EraseAllPackageData(BaseText packageToErase) if (packageName == "") { return; } - game = _server.unreal.GetGameType(); + game = __core().unreal_api().GetGameType(); game.DeletePackage(packageName); // Delete any leftover objects. This has to be done *after* // `DeletePackage()` call, otherwise removed garbage can reappear.