From a84b87a1a0001feb5fd92241b0d6098ec2e41201 Mon Sep 17 00:00:00 2001 From: Neerti Date: Thu, 27 Nov 2014 21:58:36 -0500 Subject: [PATCH] Fixes potential problem of losing your module items if you get flashed. Because copypasta. --- code/modules/mob/living/silicon/robot/inventory.dm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/modules/mob/living/silicon/robot/inventory.dm b/code/modules/mob/living/silicon/robot/inventory.dm index 9e73beac33..1b132cf27d 100644 --- a/code/modules/mob/living/silicon/robot/inventory.dm +++ b/code/modules/mob/living/silicon/robot/inventory.dm @@ -51,6 +51,7 @@ if (client) client.screen -= module_state_1 contents -= module_state_1 + module_state_1:loc = module module_state_1 = null inv1.icon_state = "inv1" if(module_state_2) @@ -59,6 +60,7 @@ if (client) client.screen -= module_state_2 contents -= module_state_2 + module_state_2:loc = module module_state_2 = null inv2.icon_state = "inv2" if(module_state_3) @@ -67,6 +69,7 @@ if (client) client.screen -= module_state_3 contents -= module_state_3 + module_state_3:loc = module module_state_3 = null inv3.icon_state = "inv3" updateicon()