forked from akanyan/mu3-mods
fix: various fixes
This commit is contained in:
18
SkipNotice/MU3/patch_UIGetRewards.cs
Normal file
18
SkipNotice/MU3/patch_UIGetRewards.cs
Normal file
@ -0,0 +1,18 @@
|
||||
namespace MU3;
|
||||
class patch_UIGetRewards: UIGetRewards {
|
||||
private extern void orig_invokeOnFinish();
|
||||
private extern void orig_startNextItem();
|
||||
private void invokeOnFinish() => orig_invokeOnFinish();
|
||||
private void startNextItem() {
|
||||
if(!patch_Scene_30_NoticeReward.Skipped) {
|
||||
orig_startNextItem();
|
||||
}
|
||||
}
|
||||
void Update() {
|
||||
// The panel state will still be screwed up for some reason but it won't crash
|
||||
// This could be improved
|
||||
if(patch_Scene_30_NoticeReward.Skipped) {
|
||||
invokeOnFinish();
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user