|
|
@ -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. |
|
|
|