forked from akanyan/mu3-mods
feat(SkipCutscenes): autocontinue
Also fix the "continue?" screen
This commit is contained in:
@ -23,12 +23,15 @@ class patch_Scene_38_End: Scene_38_End {
|
||||
}
|
||||
}
|
||||
|
||||
private extern void orig_End_Init();
|
||||
private void End_Init() {
|
||||
SystemUI instance = SingletonMonoBehaviour<SystemUI>.instance;
|
||||
instance.Panel.popState();
|
||||
if(!Singleton<Mod.State>.instance.SkipPlay) {
|
||||
instance.fadeOut();
|
||||
orig_End_Init();
|
||||
} else {
|
||||
SystemUI instance = SingletonMonoBehaviour<SystemUI>.instance;
|
||||
instance.Panel.popState();
|
||||
commonWindow_.transform.localScale = new UnityEngine.Vector3(0, 0, 0);
|
||||
commonWindow_.end();
|
||||
}
|
||||
commonWindow_.end();
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user