mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-28 15:47:15 +01:00
1 symbol typo in code fix (#92164)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user