Skip to content

Commit cefb702

Browse files
committed
Fix a potential bug with duplicated path in savelocation.
1 parent c7f1df6 commit cefb702

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

renpy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ def test_writable(d):
104104

105105
# No save directory given.
106106
if not save_directory:
107-
return gamedir + "/saves"
107+
return os.path.join(gamedir, "saves")
108108

109109
# Search the path above Ren'Py for a directory named "Ren'Py Data".
110110
# If it exists, then use that for our save directory.

0 commit comments

Comments
 (0)