From d17d273bec612fea5616fa075427172fe03e2507 Mon Sep 17 00:00:00 2001 From: HelmCrab <90987989+Thera-Pissed@users.noreply.github.com> Date: Fri, 21 Jun 2024 02:42:35 -0500 Subject: [PATCH] Removes shoddy 'active' state for holopads that was causing negative power draw. (#3128) ## About The Pull Request I implemented the active state for this wrong, and it's better if it doesn't have one for now. ## Why It's Good For The Game bugs bad functional power good ## Changelog :cl: fix: infinite negative power draw while calling your grandmother no longer happens. /:cl: --- code/game/machinery/hologram.dm | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/code/game/machinery/hologram.dm b/code/game/machinery/hologram.dm index 60ded054842a..0e6bc6ed6a6d 100644 --- a/code/game/machinery/hologram.dm +++ b/code/game/machinery/hologram.dm @@ -451,11 +451,7 @@ For the other part of the code, check silicon say.dm. Particularly robot talk.*/ /obj/machinery/holopad/proc/SetLightsAndPower() var/total_users = LAZYLEN(masters) + LAZYLEN(holo_calls) - if(total_users > 0) - set_active_power() - else - set_idle_power() - active_power_usage = initial(active_power_usage) * total_users + //active_power_usage = initial(active_power_usage) * total_users if(total_users || replay_mode) set_light(2) else