From 381647971cb8d5973e6fee278c18ca3d45f8e138 Mon Sep 17 00:00:00 2001 From: Tastyfish Date: Sun, 1 Jan 2012 19:57:01 -0500 Subject: [PATCH] it doesn't get stuck in things that don't have hands, like silicons now --- code/game/machinery/computer/medical.dm | 4 ++-- code/game/machinery/computer/security.dm | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/code/game/machinery/computer/medical.dm b/code/game/machinery/computer/medical.dm index 926aaacbe44..f507d34baf6 100644 --- a/code/game/machinery/computer/medical.dm +++ b/code/game/machinery/computer/medical.dm @@ -128,7 +128,7 @@ src.temp = null if (href_list["scan"]) if (src.scan) - if(!usr.get_active_hand()) + if(istype(usr,/mob/living/carbon/human) && !usr.get_active_hand()) usr.put_in_hand(scan) else scan.loc = get_turf(src) @@ -458,7 +458,7 @@ if (href_list["eject_disk"]) if (!disk) return - if(!usr.get_active_hand()) + if(istype(usr,/mob/living/carbon/human) && !usr.get_active_hand()) usr.put_in_hand(disk) else disk.loc = get_turf(src) diff --git a/code/game/machinery/computer/security.dm b/code/game/machinery/computer/security.dm index c37d2ecc2f3..241e6556b23 100644 --- a/code/game/machinery/computer/security.dm +++ b/code/game/machinery/computer/security.dm @@ -192,7 +192,7 @@ What a mess.*/ if("Confirm Identity") if (scan) - if(!usr.get_active_hand()) + if(istype(usr,/mob/living/carbon/human) && !usr.get_active_hand()) usr.put_in_hand(scan) else scan.loc = get_turf(src) @@ -465,7 +465,7 @@ What a mess.*/ if ("eject_disk") if (!disk) return - if(!usr.get_active_hand()) + if(istype(usr,/mob/living/carbon/human) && !usr.get_active_hand()) usr.put_in_hand(disk) else disk.loc = get_turf(src)