kill cheatmanager on any scene

This commit is contained in:
Lapis
2026-06-04 18:49:44 -04:00
parent 9c6448a3f4
commit 6855abe9f6
-3
View File
@@ -39,8 +39,6 @@ public class Plugin : BasePlugin
} }
private void OnSceneLoaded(Scene scene, LoadSceneMode mode) private void OnSceneLoaded(Scene scene, LoadSceneMode mode)
{
if (scene.name == "TitleScreen")
{ {
var cheatMgr = GameObject.Find("GameRoot/(Startup)(Clone)/Core Systems/[CheatManager]"); var cheatMgr = GameObject.Find("GameRoot/(Startup)(Clone)/Core Systems/[CheatManager]");
if (cheatMgr != null) if (cheatMgr != null)
@@ -50,5 +48,4 @@ public class Plugin : BasePlugin
} }
} }
} }
}