Now with less extra junk

This commit is contained in:
Crazylemon64
2016-08-01 14:10:02 -07:00
parent 4c40a74746
commit c2f1045741
+3 -2
View File
@@ -64,7 +64,7 @@
// attack by item places it in to disposal
/obj/machinery/disposal/attackby(var/obj/item/I, var/mob/user, params)
if(stat & BROKEN || !I || !user || ((I.flags & NODROP) && !istype(I, /obj/item/weapon/storage/bag/trash/cyborg)))
if(stat & BROKEN || !I || !user)
return
src.add_fingerprint(user)
@@ -144,7 +144,8 @@
if(!I) return
user.drop_item()
if(!user.drop_item())
return
if(I)
I.loc = src