mirror of
https://github.com/djdevin/recnet-plugin.git
synced 2026-09-08 06:31:29 -07:00
fix: scene name
This commit is contained in:
@@ -40,7 +40,7 @@ public class Plugin : BasePlugin
|
|||||||
|
|
||||||
private void OnSceneLoaded(Scene scene, LoadSceneMode mode)
|
private void OnSceneLoaded(Scene scene, LoadSceneMode mode)
|
||||||
{
|
{
|
||||||
if (scene.name == "ScreenAccountSelection" || scene.name == "VRAccountSelection")
|
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)
|
||||||
|
|||||||
Reference in New Issue
Block a user