Skip to content

Commit f819b00

Browse files
committed
Fix an issue where the search path didn't append correctly
1 parent 94ea0d0 commit f819b00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modloader/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def main():
3232
for mod in os.listdir(get_mod_path()):
3333
# Some mods require resources to be recognized by renpy.
3434
# If a folder exists, force renpy to load it
35-
resource_dir = get_mod_path() + mod + "/resource"
35+
resource_dir = os.path.join(get_mod_path(), mod, 'resource')
3636
if os.path.isdir(resource_dir):
3737
renpy.config.searchpath.append(resource_dir)
3838

0 commit comments

Comments
 (0)