From 2c716feb6c11c85d83958a93e4a658f4f42cfa7d Mon Sep 17 00:00:00 2001 From: TheEmber <40074315+TheEmber@users.noreply.github.com> Date: Fri, 18 Jul 2025 10:23:17 +0200 Subject: [PATCH] 1 symbol typo in code fix (#92164) --- code/game/machinery/deployable.dm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/code/game/machinery/deployable.dm b/code/game/machinery/deployable.dm index 0f094039b49..948c2752a58 100644 --- a/code/game/machinery/deployable.dm +++ b/code/game/machinery/deployable.dm @@ -87,7 +87,7 @@ if(!istype(our_wood,/obj/item/stack/sheet/mineral/wood)) return NONE - if(!our_wood.amount < 5) + if(our_wood.amount < 5) balloon_alert(user, "not enough wood!") to_chat(user, span_warning("You need at least five wooden planks to make a barricade!")) return ITEM_INTERACT_BLOCKING @@ -99,7 +99,9 @@ balloon_alert(user, "interrupted!") return ITEM_INTERACT_BLOCKING - our_wood.use(drop_amount) + if(!our_wood.use(drop_amount)) + balloon_alert(user, "interrupted!") + return ITEM_INTERACT_BLOCKING repair_damage(20 * drop_amount) return ITEM_INTERACT_SUCCESS