mu3-mods/InfiniteStory/MU3.Sequence/patch_Play.cs
jujuforce 66fdc27787 feat: implement InfiniteStory (#6)
Infinite Story mod
- Allows watching an infinite number of stories per session
- Skips the dialog about it when selecting a story

Co-authored-by: Jujuforce <jujuforce@gmail.com>
Co-authored-by: akanyan <alicechecker01@proton.me>
Reviewed-on: #6
Co-authored-by: jujuforce <jujuforce@noreply.gitea.tendokyu.moe>
Co-committed-by: jujuforce <jujuforce@noreply.gitea.tendokyu.moe>
2024-08-24 16:29:07 +00:00

12 lines
293 B
C#

using MU3.User;
using MU3.Util;
namespace MU3.Sequence;
class patch_Play: Play {
private extern void orig_Enter_PlayScenario();
private void Enter_PlayScenario() {
orig_Enter_PlayScenario();
Singleton<UserManager>.instance.userLocal.isStoryWatched = false;
}
}