mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-27 03:25:23 +09:00
.
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user