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