From c1966f286e60cb29a5a1604de1c6664a71a3c6cd Mon Sep 17 00:00:00 2001 From: Totally a booplicate <53382877+Booplicate@users.noreply.github.com> Date: Sun, 5 Jan 2025 00:23:41 +0300 Subject: [PATCH] fix: smol upd for override, add TODO --- Monika After Story/game/overrides.rpy | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/Monika After Story/game/overrides.rpy b/Monika After Story/game/overrides.rpy index 13fee59bae..da1dae8d68 100644 --- a/Monika After Story/game/overrides.rpy +++ b/Monika After Story/game/overrides.rpy @@ -47,14 +47,28 @@ python early in mas_overrides: The only difference here is that this skips over game savedirs and 'extra' save dirs (so just omissions) + + TODO: Find a way to avoid overriding the entire function just + to disable 2 save locations, this is more bug prone """ savelocation.quit() savelocation.quit_scan_thread = False location = savelocation.MultiLocation() + # 1. User savedir. location.add(savelocation.FileLocation(renpy.config.savedir)) + # # 2. Game-local savedir. + # if (not renpy.mobile) and (not renpy.macapp): + # path = os.path.join(renpy.config.gamedir, "saves") + # location.add(savelocation.FileLocation(path)) + + # # 3. Extra savedirs. + # for i in renpy.config.extra_savedirs: + # location.add(savelocation.FileLocation(i)) + + # Scan the location once. location.scan() renpy.loadsave.location = location