From 1bb316c4ff48e00190f8772137df05fab22bc3b6 Mon Sep 17 00:00:00 2001 From: gremlingss Date: Mon, 17 Jul 2023 14:35:11 +0100 Subject: [PATCH] Fixes some wooden PLANK barricades from dropping null stacks --- code/game/machinery/obstacles_barricades.dm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/game/machinery/obstacles_barricades.dm b/code/game/machinery/obstacles_barricades.dm index 42760da604a..3fcfce7dd55 100644 --- a/code/game/machinery/obstacles_barricades.dm +++ b/code/game/machinery/obstacles_barricades.dm @@ -358,7 +358,8 @@ max_integrity = 75 /obj/structure/barricade/wooden/make_debris() - new /obj/item/stack/sheet/mineral/wood(get_turf(src), drop_amount) + if(drop_amount) + new /obj/item/stack/sheet/mineral/wood(get_turf(src), drop_amount) /obj/structure/barricade/bars //FighterX2500 is this you?