1
0
mirror of https://github.com/soarqin/DSP_Mods.git synced 2025-12-08 20:53:28 +08:00

various fixes

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

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;
}
}