Fix giving things to non-carbons

This commit is contained in:
Tigercat2000
2015-03-22 19:50:55 +01:00
parent 82f3bbedb4
commit 7b84658a33
+3
View File
@@ -2,6 +2,9 @@
set category = "IC"
set name = "Give"
if(!iscarbon(target)) //something is bypassing the give arguments, no clue what, adding a sanity check JIC
usr << "<span class='danger'>Wait a second... \the [target] HAS NO HANDS! AHH!</span>" //cheesy messages ftw
return
if(target.stat == 2 || usr.stat == 2|| target.client == null)
return
var/obj/item/I