gluon-web-model: fix return value of resolve_depends()
This commit is contained in:
parent
4249d65af7
commit
f2305faea8
@ -97,7 +97,7 @@ end
|
|||||||
function Node:resolve_depends()
|
function Node:resolve_depends()
|
||||||
local updated = false
|
local updated = false
|
||||||
for _, node in ipairs(self.children) do
|
for _, node in ipairs(self.children) do
|
||||||
update = updated or node:resolve_depends()
|
updated = updated or node:resolve_depends()
|
||||||
end
|
end
|
||||||
return updated
|
return updated
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user