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)