diff --git a/exp_legacy/module/modules/control/vlayer.lua b/exp_legacy/module/modules/control/vlayer.lua index 1e1b3ab7..0b6a241d 100644 --- a/exp_legacy/module/modules/control/vlayer.lua +++ b/exp_legacy/module/modules/control/vlayer.lua @@ -535,7 +535,7 @@ local function handle_circuit_power_load() po = po + v.o end - return pi * 10000 / po + return (pi * 10000 / po) or 0 end --- Get the statistics for the vlayer