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:
@ -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();
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user