gluon-web-model: fix return value of resolve_depends()

This commit is contained in:
bobcanthelpyou 2019-06-16 20:09:41 +02:00
parent 4249d65af7
commit f2305faea8

View File

@ -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