From 50489f28edd86647872c358c5ee6b962a2acea07 Mon Sep 17 00:00:00 2001 From: GauHelldragon Date: Fri, 28 Dec 2012 13:51:09 -0800 Subject: [PATCH] Fixes cyborg display when items are disabled due to power. Previously the hud would not be updated when power drops below 100 and items are disabled. --- code/modules/mob/living/silicon/robot/life.dm | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/code/modules/mob/living/silicon/robot/life.dm b/code/modules/mob/living/silicon/robot/life.dm index 8250311cc33..6cebdf92dc8 100644 --- a/code/modules/mob/living/silicon/robot/life.dm +++ b/code/modules/mob/living/silicon/robot/life.dm @@ -42,10 +42,7 @@ uneq_all() src.stat = 1 else if (src.cell.charge <= 100) - src.module_active = null - src.module_state_1 = null - src.module_state_2 = null - src.module_state_3 = null + uneq_all() src.sight_mode = 0 src.cell.use(1) else