refactor: don't overwrite default libraries and expose join_path() and path_separator() types

This commit is contained in:
tomasklaen
2022-10-31 09:43:18 +01:00
parent d9e5853542
commit e8060c74ad
3 changed files with 15 additions and 15 deletions

View File

@@ -482,7 +482,7 @@ function load_file_index_in_current_directory(index)
if index < 0 then index = #files + index + 1 end
if files[index] then
mp.commandv('loadfile', utils.join_path(serialized.dirname, files[index]))
mp.commandv('loadfile', join_path(serialized.dirname, files[index]))
end
end
end