1 symbol typo in code fix (#92164)

This commit is contained in:
TheEmber
2025-07-18 10:23:17 +02:00
committed by GitHub
parent c4ad5bfc02
commit 2c716feb6c
+4 -2
View File
@@ -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