Fixed some bugginess with evidence bags.

This commit is contained in:
SkyMarshal
2011-12-25 12:37:20 -07:00
parent 2d36f81e9b
commit 8ee8875e80
2 changed files with 4 additions and 0 deletions
+1
View File
@@ -136,6 +136,7 @@ obj/machinery/computer/forensic_scanning
scanning = I.contents[1]
scanning.loc = src
I.underlays -= scanning
I.icon_state = "evidenceobj"
else
scanning = I
M.drop_item()
@@ -23,6 +23,9 @@
if(!(O && istype(O)) || O.anchored == 1)
user << "You can't put that inside the [src]!"
return ..()
if(O in user)
user << "You are wearing that."
return
if(src.contents.len > 0)
user << "The [src] already has something inside it."
return ..()