Skip to content

Commit 2a43c80

Browse files
committed
script-manager.lua One last use of a <path> as a <string>
1 parent 9e7b533 commit 2a43c80

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

library/lua/script-manager.lua

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,6 @@ function get_mod_paths(installed_subdir, active_subdir)
152152
-- if a world is loaded, process active mods first, and lock to active version
153153
if dfhack.isWorldLoaded() then
154154
for _,path in ipairs(df.global.world.object_loader.object_load_order_src_dir) do
155-
path = tostring(path.value)
156155
-- skip vanilla "mods"
157156
if not path:startswith(INSTALLED_MODS_PATH) then goto continue end
158157
local id = get_mod_id_and_version(path)

0 commit comments

Comments
 (0)