1
0
forked from akanyan/mu3-mods

feat: rework Pause

Now a dialog.

* Also fix the new BetterGiveUp panic restart
* Also move SortByInternal's PNG away from the root namespace
This commit is contained in:
2024-12-25 17:31:54 +00:00
parent 0ece7d4f42
commit 7fc75ca2b1
7 changed files with 98 additions and 59 deletions

View File

@ -115,12 +115,24 @@ class patch_PlayMusic: PlayMusic {
}
}
private void listenForPanicRestart() {
if(Singleton<UIInput>.instance.getTriggerOn(UIInput.Key.MenuRight) && ntMgr.retireResult != RetireResult.None && !isPartyPlay()) {
Singleton<GameSound>.instance.gameBGM.stop();
setNextState(EState.Init);
}
}
private extern void orig_Execute_DispCombo();
private void Execute_DispCombo() {
orig_Execute_DispCombo();
if(Singleton<UIInput>.instance.getTriggerOn(UIInput.Key.MenuRight) && ntMgr.retireResult != RetireResult.None && !isPartyPlay()) {
setNextState(EState.Init);
}
listenForPanicRestart();
}
private extern void orig_Execute_DispFinish();
private void Execute_DispFinish() {
orig_Execute_DispFinish();
listenForPanicRestart();
}
}