From 8b3680798860deab796611bf08954427b0bd532e Mon Sep 17 00:00:00 2001 From: Paulo Elienay Date: Thu, 28 Oct 2021 12:47:40 -0300 Subject: [PATCH] fix(17003): can't dispose abstract items Abstract items (such as slapper) should't be allow to be disposed away. --- code/modules/recycling/disposal.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/recycling/disposal.dm b/code/modules/recycling/disposal.dm index 3e4a1d0c821..656aa4d4b15 100644 --- a/code/modules/recycling/disposal.dm +++ b/code/modules/recycling/disposal.dm @@ -95,7 +95,7 @@ // attack by item places it in to disposal /obj/machinery/disposal/attackby(obj/item/I, mob/user, params) - if(stat & BROKEN || !I || !user) + if(stat & BROKEN || !I || !user || I.flags & ABSTRACT) return src.add_fingerprint(user)