Browse Source

get_flow_count now supports LuaItemProductionFlowStatistics

main
chksm 2 years ago
parent
commit
cb172e5fac
  1. 2
      script/fetcher.lua

2
script/fetcher.lua

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

Loading…
Cancel
Save