diff --git a/library/lua/script-manager.lua b/library/lua/script-manager.lua index 72b0aae951..74a31fd1d9 100644 --- a/library/lua/script-manager.lua +++ b/library/lua/script-manager.lua @@ -152,7 +152,6 @@ function get_mod_paths(installed_subdir, active_subdir) -- if a world is loaded, process active mods first, and lock to active version if dfhack.isWorldLoaded() then for _,path in ipairs(df.global.world.object_loader.object_load_order_src_dir) do - path = tostring(path.value) -- skip vanilla "mods" if not path:startswith(INSTALLED_MODS_PATH) then goto continue end local id = get_mod_id_and_version(path)