From f64eb593799aa8b2c8524aac123a6c4dff780a6c Mon Sep 17 00:00:00 2001 From: Markolie Date: Tue, 18 Aug 2015 23:26:43 +0200 Subject: [PATCH] Janiborg disposal trash bag fix --- code/modules/recycling/disposal.dm | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/code/modules/recycling/disposal.dm b/code/modules/recycling/disposal.dm index 4c042f04a12..6f85b8990e6 100644 --- a/code/modules/recycling/disposal.dm +++ b/code/modules/recycling/disposal.dm @@ -50,11 +50,9 @@ // 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)) + if(stat & BROKEN || !I || !user || ((I.flags & NODROP) && !istype(I, /obj/item/weapon/storage/bag/trash/cyborg))) return - if(isrobot(user) && !istype(I, /obj/item/weapon/storage/bag/trash)) - return src.add_fingerprint(user) if(mode<=0) // It's off if(istype(I, /obj/item/weapon/screwdriver))