Skip to content

Commit 72b13db

Browse files
committed
Update for 52.02 paths
1 parent 68f87f6 commit 72b13db

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

gui/mod-manager.lua

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ local presets_file = json.open("dfhack-config/mod-manager.json")
1313
local GLOBAL_KEY = 'mod-manager'
1414

1515
local function vanilla(dir)
16-
dir = dir.value
1716
return dir:startswith('data/vanilla')
1817
end
1918

@@ -245,7 +244,7 @@ local function load_preset(idx, unset_default_on_failure)
245244

246245
local viewscreen = get_any_moddable_viewscreen()
247246
local modlist = presets_file.data[idx].modlist
248-
local failures, changed = swap_modlist(viewscreen, modlist)
247+
local failures, changes = swap_modlist(viewscreen, modlist)
249248
local text = {}
250249

251250
local failed = #failures > 0

0 commit comments

Comments
 (0)