Browse Source

Fix `DBAPI` relying on server core API instead of generic one

core_refactor
Anton Tarasenko 2 years ago
parent
commit
e553d1a08e
  1. 2
      sources/Data/Database/DBAPI.uc

2
sources/Data/Database/DBAPI.uc

@ -329,7 +329,7 @@ private function EraseAllPackageData(BaseText packageToErase)
if (packageName == "") { if (packageName == "") {
return; return;
} }
game = _server.unreal.GetGameType(); game = __core().unreal_api().GetGameType();
game.DeletePackage(packageName); game.DeletePackage(packageName);
// Delete any leftover objects. This has to be done *after* // Delete any leftover objects. This has to be done *after*
// `DeletePackage()` call, otherwise removed garbage can reappear. // `DeletePackage()` call, otherwise removed garbage can reappear.

Loading…
Cancel
Save