From c6f8a3813fbd42dbf3723c4ad554d220e8bc14f6 Mon Sep 17 00:00:00 2001 From: "baloh.matevz" Date: Tue, 5 Jun 2012 21:04:30 +0000 Subject: [PATCH] - Resist button on the UI now works properly... git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3746 316c924e-a436-60f5-8080-3fe189b3f50e --- code/modules/mob/screen.dm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/code/modules/mob/screen.dm b/code/modules/mob/screen.dm index d4aa2eda058..40ee58331db 100644 --- a/code/modules/mob/screen.dm +++ b/code/modules/mob/screen.dm @@ -252,6 +252,11 @@ var/mob/living/carbon/human/H = usr H.equip_to_appropriate_slot(I) + if("resist") + if(isliving(usr)) + var/mob/living/L = usr + L.resist() + if("maprefresh") var/obj/machinery/computer/security/seccomp = usr.machine