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)
{
if (scene.name == "TitleScreen")
{
var cheatMgr = GameObject.Find("GameRoot/(Startup)(Clone)/Core Systems/[CheatManager]");
if (cheatMgr != null)
@@ -49,6 +47,5 @@ public class Plugin : BasePlugin
Log.LogInfo("cheatmanager destroyed");
}
}
}
}