Skip to content

Commit 843f062

Browse files
committed
path: add option for user data path in get_mod_paths_from_all_sources
1 parent 99c7a08 commit 843f062

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

addons/mod_loader/internal/path.gd

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,9 @@ static func get_mod_paths_from_all_sources() -> Array[String]:
210210

211211
if ModLoaderStore.ml_options.load_from_steam_workshop:
212212
mod_paths.append_array(_ModLoaderSteam.find_steam_workshop_zips())
213+
214+
if ModLoaderStore.ml_options.user_data_mods:
215+
mod_paths.append_array(get_zip_paths_in(get_path_to_user_mods()))
213216

214217
return mod_paths
215218

0 commit comments

Comments
 (0)