From f86bd5731d4e2abc06503708530d287de0bdfc14 Mon Sep 17 00:00:00 2001 From: PHIDIAS Date: Wed, 11 Nov 2026 00:19:12 +0900 Subject: [PATCH] M --- exp_scenario/module/control/vlayer.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/exp_scenario/module/control/vlayer.lua b/exp_scenario/module/control/vlayer.lua index 0585c702..2d29b774 100644 --- a/exp_scenario/module/control/vlayer.lua +++ b/exp_scenario/module/control/vlayer.lua @@ -707,8 +707,8 @@ local function handle_energy_interfaces() for s_index, prop in pairs(vlayer_data) do local storage = prop.storage local properties = prop.properties - local production = properties.production * mega * (update_tick_energy / 60) - storage.energy = storage.energy + min(properties.input_limit, floor(production * get_production_multiplier(s_index))) + local production = properties.production * (update_tick_energy / 60) + storage.energy = storage.energy + min(properties.input_limit, floor(production * get_production_multiplier(s_index))) * mega local interfaces = prop.interfaces.energy prune_interfaces(interfaces)