fix(SkipPreMusic): allow permanent skip

This commit is contained in:
あかニャン 2024-07-08 04:50:37 +09:00
parent 5872a05c7b
commit 26fffefbae

View File

@ -1,5 +1,6 @@
using MU3.Battle; using MU3.Battle;
using MU3.Util; using MU3.Util;
using UnityEngine;
namespace MU3.Sequence; namespace MU3.Sequence;
@ -11,7 +12,7 @@ class patch_PlayMusic: PlayMusic {
private void Execute_StartCutscene() { private void Execute_StartCutscene() {
orig_Execute_StartCutscene(); orig_Execute_StartCutscene();
ForceSkipped = false; ForceSkipped = false;
if(Singleton<UIInput>.instance.getStateOn(UIInput.Key.MenuLeft)) { if(Singleton<Sys.System>.instance.config.isQuickStart || Singleton<UIInput>.instance.getStateOn(UIInput.Key.MenuLeft)) {
_gameEngine.skipStartCutscene(); _gameEngine.skipStartCutscene();
setNextState(EState.Countdown); setNextState(EState.Countdown);
ForceSkipped = true; ForceSkipped = true;