From 3bfd28020cbd1e5a0883f8b2f09646b0da3d4abb Mon Sep 17 00:00:00 2001 From: jjpark-kb <55967837+jjpark-kb@users.noreply.github.com> Date: Thu, 8 Feb 2024 17:01:37 -0800 Subject: [PATCH] lowpop modify smes default settings (#26423) --- modular_skyrat/modules/lowpop/code/lowpop_subsystem.dm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/modular_skyrat/modules/lowpop/code/lowpop_subsystem.dm b/modular_skyrat/modules/lowpop/code/lowpop_subsystem.dm index 0a0488d230a..30886a8659d 100644 --- a/modular_skyrat/modules/lowpop/code/lowpop_subsystem.dm +++ b/modular_skyrat/modules/lowpop/code/lowpop_subsystem.dm @@ -86,8 +86,10 @@ SUBSYSTEM_DEF(lowpop) // recharge all those smes if we're out of power! for(var/obj/machinery/power/smes/smes as anything in valid_smes) smes.charge = smes.capacity - smes.input_level = smes.input_level_max - smes.output_level = smes.output_level_max * 0.8 + if(smes.input_level == initial(smes.input_level)) + smes.input_level = smes.input_level_max + if(smes.output_level == initial(smes.output_level)) + smes.output_level = smes.output_level_max * 0.8 smes.output_attempt = TRUE smes.update_appearance() smes.power_change()