|
|
|
@ -56,7 +56,7 @@ this.callOverlayFunction = function(functionName, callback, name, parent, args)
|
|
|
|
|
end |
|
|
|
|
|
|
|
|
|
-- flow statistics |
|
|
|
|
elseif functionName == "get_flow_count" and parent.object_name == "LuaFlowStatistics" then |
|
|
|
|
elseif functionName == "get_flow_count" and (parent.object_name == "LuaFlowStatistics" or parent.object_name == "LuaItemProductionFlowStatistics") then |
|
|
|
|
|
|
|
|
|
if args[2] == 'input' then isInput = true else isInput = false end |
|
|
|
|
|
|
|
|
|