Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix mods dir path not being overridden #76

Merged
merged 1 commit into from
Jan 23, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions addons/mod_loader/mod_loader.gd
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,8 @@ func _init():
func _load_mod_zips()->int:
# Path to the games mod folder
var game_mod_folder_path = ModLoaderUtils.get_local_folder_dir("mods")
if not os_mods_path_override == "":
game_mod_folder_path = os_mods_path_override

var dir = Directory.new()
if dir.open(game_mod_folder_path) != OK:
Expand Down