Fixed the guest login, now only the 3 left buttons are reserved for the AttractVideoPlaver mod

This commit is contained in:
Jujuforce 2024-07-22 11:36:11 +02:00
parent e7da1baed4
commit 6afff88596

View File

@ -17,6 +17,12 @@ class patch_Advertise : Advertise
Singleton<OperationManager>.instance.loginType = OperationManager.LoginType.Aime; Singleton<OperationManager>.instance.loginType = OperationManager.LoginType.Aime;
return true; return true;
} }
UIInput instance = Singleton<UIInput>.instance;
if (instance.getTriggerOn(UIInput.Key.Decision) || instance.getTriggerOn(UIInput.Key.OptionBackward) || instance.getTriggerOn(UIInput.Key.OptionForward) || instance.getTriggerOn(UIInput.Key.SkipRight) || instance.getTriggerOn(UIInput.Key.MenuLeft) || instance.getTriggerOn(UIInput.Key.MenuRight))
{
Singleton<OperationManager>.instance.loginType = OperationManager.LoginType.Button;
return true;
}
return false; return false;
} }
} }