From 6afff88596083be344c0f5c9e40313d4f93d7281 Mon Sep 17 00:00:00 2001 From: Jujuforce Date: Mon, 22 Jul 2024 11:36:11 +0200 Subject: [PATCH] Fixed the guest login, now only the 3 left buttons are reserved for the AttractVideoPlaver mod --- AttractVideoPlayer/MU3.Sequence/patch_Advertise.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/AttractVideoPlayer/MU3.Sequence/patch_Advertise.cs b/AttractVideoPlayer/MU3.Sequence/patch_Advertise.cs index eecca6c..cdac034 100644 --- a/AttractVideoPlayer/MU3.Sequence/patch_Advertise.cs +++ b/AttractVideoPlayer/MU3.Sequence/patch_Advertise.cs @@ -17,6 +17,12 @@ class patch_Advertise : Advertise Singleton.instance.loginType = OperationManager.LoginType.Aime; return true; } + UIInput instance = Singleton.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.instance.loginType = OperationManager.LoginType.Button; + return true; + } return false; } } \ No newline at end of file