mirror of
https://github.com/ComfyFactory/ComfyFactorio.git
synced 2025-02-05 13:15:03 +02:00
Fix stat collection
This commit is contained in:
parent
660391ecd3
commit
26f45826aa
@ -1148,7 +1148,8 @@ function Public.export_stats()
|
||||
|
||||
}
|
||||
for _, statName in pairs(statistics) do
|
||||
local surface_stats = flow_statistics[statName] or {}
|
||||
if not flow_statistics[statName] then flow_statistics[statName] = {} end
|
||||
local surface_stats = flow_statistics[statName]
|
||||
surface_stats[surface.name] = {
|
||||
input = force[statName](surface).input_counts,
|
||||
output = force[statName](surface).output_counts
|
||||
|
Loading…
x
Reference in New Issue
Block a user