From e806e95f7991b7f95a75c3519d8b9d9ba8d7cefc Mon Sep 17 00:00:00 2001 From: SkyMarshal Date: Fri, 20 Jan 2012 13:15:50 -0700 Subject: [PATCH] Working to make the inventory auto refresh. --- code/modules/mob/living/carbon/human/human.dm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/modules/mob/living/carbon/human/human.dm b/code/modules/mob/living/carbon/human/human.dm index 86f761bfc07..ae9745dc74f 100644 --- a/code/modules/mob/living/carbon/human/human.dm +++ b/code/modules/mob/living/carbon/human/human.dm @@ -1599,6 +1599,9 @@ M.show_message(message, 1) spawn( 40 ) done() + for(var/mob/living/carbon/M in oview(1,src)) + if((M.machine == src)&&(in_range(src, M))) + src.show_inv(M) return return