Fixes DNA modifier drag-drop runtime

This commit is contained in:
Krausus
2015-06-15 08:45:19 -04:00
parent 9001c10ce8
commit 552a5fc35b
+2
View File
@@ -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