From 552a5fc35bb9bb2e7983233d4df441a4a75629a5 Mon Sep 17 00:00:00 2001 From: Krausus Date: Mon, 15 Jun 2015 08:45:19 -0400 Subject: [PATCH] Fixes DNA modifier drag-drop runtime --- code/game/dna/dna_modifier.dm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/game/dna/dna_modifier.dm b/code/game/dna/dna_modifier.dm index 32c3684ee78..3416568d359 100644 --- a/code/game/dna/dna_modifier.dm +++ b/code/game/dna/dna_modifier.dm @@ -151,6 +151,8 @@ return /obj/machinery/dna_scannernew/MouseDrop_T(atom/movable/O as mob|obj, mob/user as mob) + if(!istype(O)) + return if(O.loc == user) //no you can't pull things out of your ass return if(user.restrained() || user.stat || user.weakened || user.stunned || user.paralysis || user.resting) //are you cuffed, dying, lying, stunned or other