This commit is contained in:
2025-02-24 18:54:27 +09:00
parent 1cfcdddfa5
commit 3a8b217f8d

View File

@@ -522,7 +522,7 @@ local function handle_circuit_power_load()
processed[e.electric_network_id] = true processed[e.electric_network_id] = true
end end
end end
return (pi * 10000 / po) or 0 return pi * 10000 / math.max(po, 1)
end end
--- Get the statistics for the vlayer --- Get the statistics for the vlayer