Skip to content

Commit

Permalink
fix: smol upd for override, add TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
Booplicate authored and dreamscached committed Jan 17, 2025
1 parent 9d08daa commit c1966f2
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions Monika After Story/game/overrides.rpy
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c1966f2

Please sign in to comment.