fix for VR

This commit is contained in:
Lapis
2026-04-05 14:49:32 -04:00
parent 5a8b4b2d52
commit b4e83bddbf
+1 -1
View File
@@ -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") if (scene.name == "ScreenAccountSelection" || scene.name == "VRAccountSelection")
{ {
var cheatMgr = GameObject.Find("GameRoot/Startup/Core Systems/[CheatManager]"); var cheatMgr = GameObject.Find("GameRoot/Startup/Core Systems/[CheatManager]");
if (cheatMgr != null) if (cheatMgr != null)