Skip to content

Commit

Permalink
3324 - Fixes kitchen soda fountain being wrenchable (#4266)
Browse files Browse the repository at this point in the history
# About the pull request

Fixes #3324

Fixes the kitchen soda fountain displaying an error about being
unwrenchable, but still allowing the soda machine to be unanchored and
moved.

# Explain why it's good for the game

It stops players moving the soda fountain planetside.

# Changelog
:cl:
fix: Fixes the kitchen soda fountain being wrenchable.
/:cl:
  • Loading branch information
Xufysz authored Aug 27, 2023
1 parent 8978aac commit 2c71ad4
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,7 @@
if(HAS_TRAIT(attacking_object, TRAIT_TOOL_WRENCH))
if(!wrenchable)
to_chat(user, "[src] cannot be unwrenched.")
return

if(!do_after(user, 2 SECONDS, INTERRUPT_ALL|BEHAVIOR_IMMOBILE, BUSY_ICON_BUILD))
return
Expand Down

0 comments on commit 2c71ad4

Please sign in to comment.