private static void Update() { if (!initializedMainPlayer) { if (AddVRController(LocalUserManager.GetRewiredMainPlayer())) { initializedMainPlayer = true; } } LocalUser localUser = LocalUserManager.GetFirstLocalUser(); if (localUser != null) { if (AddVRController(localUser.inputPlayer)) { initializedLocalUser = true; RoR2Application.onUpdate -= Update; } } }