Skip to content

Commit 5238279

Browse files
committed
ConfigHandler: fix default tables not being copied to the userconfig when filled
1 parent 0983bed commit 5238279

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

modules/DependencyControl/ConfigHandler.moon

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ class ConfigHandler
5454
__newindex: (tbl, k, v) ->
5555
upKeys, parent = {}, tbl.__parent
5656
-- trace back to defaults entry, pick up the keys along the path
57-
while parent
57+
while parent.__parent
5858
tbl = parent
5959
upKeys[#upKeys+1] = tbl.__key
6060
parent = tbl.__parent

0 commit comments

Comments
 (0)