mirror of
https://github.com/CannedNet/CannedNet.Client.git
synced 2026-10-25 23:18:55 -07:00
kill cheatmanager on any scene
This commit is contained in:
@@ -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)
|
||||
@@ -50,5 +48,4 @@ public class Plugin : BasePlugin
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user