style: dedupe orig_
This commit is contained in:
parent
b9df3055ce
commit
da2232fe0e
@ -18,16 +18,13 @@ class patch_Scene_32_PrePlayMusic_MusicSelect: Scene_32_PrePlayMusic_MusicSelect
|
|||||||
// Walk around the warning dialog
|
// Walk around the warning dialog
|
||||||
if(_dialogBase == null && !_selector.isDecided && !_selector.isCanceled && (_selector.isPressed || _selector.isPressedDisabledElement)) {
|
if(_dialogBase == null && !_selector.isDecided && !_selector.isCanceled && (_selector.isPressed || _selector.isPressedDisabledElement)) {
|
||||||
MusicSelectViewData musicViewData = _selectList.getMusicViewData(_selector.selectIndex);
|
MusicSelectViewData musicViewData = _selectList.getMusicViewData(_selector.selectIndex);
|
||||||
if(musicViewData != null && musicViewData.kind == MusicSelectViewData.Kind.Scenario &&
|
if(musicViewData != null && musicViewData.kind == MusicSelectViewData.Kind.Scenario
|
||||||
musicViewData.scenarioViewData.ngReason == ScenarioViewData.PlayNGReason.None) {
|
&& musicViewData.scenarioViewData.ngReason == ScenarioViewData.PlayNGReason.None) {
|
||||||
onFinishPlayScenario(0, false);
|
onFinishPlayScenario(0, false);
|
||||||
updateSystemUIPanel();
|
updateSystemUIPanel();
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
else {
|
|
||||||
orig_Execute_Select();
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
orig_Execute_Select();
|
|
||||||
}
|
}
|
||||||
|
orig_Execute_Select();
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user