fix room loading + metadata changes allowed

This commit is contained in:
Lapis
2026-06-18 09:22:48 -04:00
parent dcb7faec5d
commit f56ed0d8de
2 changed files with 20 additions and 4 deletions
+13
View File
@@ -0,0 +1,13 @@
using HarmonyLib;
[HarmonyPatch(typeof(JAPJPGNBMNM), "JOKECJKBJGD")]
public static class PromisePatch
{
public static bool Prefix(out HPHDJAFFHCN<JAPJPGNBMNM.AOFCCEACNNA> __result)
{
var result = JAPJPGNBMNM.AOFCCEACNNA.JGIHNLEFJEL();
var promise = HAAHJPGNIMD.NMOOLKAJDOC(result);
__result = promise;
return false;
}
}
+3
View File
@@ -45,6 +45,8 @@ public class Plugin : BasePlugin
}
private void OnSceneLoaded(Scene scene, LoadSceneMode mode)
{
if (scene.name != "TitleScreen")
{
var cheatMgr = GameObject.Find("GameRoot/(Startup)(Clone)/Core Systems/[CheatManager]");
if (cheatMgr != null)
@@ -54,3 +56,4 @@ public class Plugin : BasePlugin
}
}
}
}