Parts manager: actually evaluate functions
This commit is contained in:
parent
1cfe63e7de
commit
0ca5905ab6
@ -198,7 +198,7 @@ do
|
|||||||
|
|
||||||
function evaluatePart(part)
|
function evaluatePart(part)
|
||||||
local part_key=tostring(part)
|
local part_key=tostring(part)
|
||||||
return ireduce(function(x, y) return x and y end,
|
return ireduce(function(x, y) return x() and y() end,
|
||||||
pm[part_key].functions, true)
|
pm[part_key].functions, true)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user