various fixes

This commit is contained in:
soarqin committed 2023-10-15 23:24:57 +08:00
1 parent d85afccb0d
commit d9ac5e5786
3 files changed
+13 -1

No files matched your search

+3
View File
@@ -91,13 +91,16 @@ public class CompressSave : BaseUnityPlugin
{
PatchUISaveGame.OnDestroy();
_patchUISave.UnpatchSelf();
_patchUISave = null;
}
if (_patchUILoad != null)
{
PatchUILoadGame.OnDestroy();
_patchUILoad.UnpatchSelf();
_patchUILoad = null;
}
_patchSave?.UnpatchSelf();
_patchSave = null;
}
}