Fixes boxes in evidence bags in boxes

- Boxes no longer allowed inside evidence bags
This commit is contained in:
TullyBurnalot
2016-07-08 03:28:58 +01:00
parent 1b2d8b317f
commit edc7b921ff
+4
View File
@@ -21,6 +21,10 @@
if(!istype(I) || I.anchored == 1)
return
if(istype(I, /obj/item/weapon/storage/box))
to_chat(user, "<span class='notice'>This box is too big to fit in the evidence bag.</span>")
return
if(istype(I, /obj/item/weapon/evidencebag))
to_chat(user, "<span class='notice'>You find putting an evidence bag in another evidence bag to be slightly absurd.</span>")
return 1 //now this is podracing