From 2c71ad486b9a3e2b6f68985fe07ba1db7a68d833 Mon Sep 17 00:00:00 2001 From: Xufysz <8283338+Xufysz@users.noreply.github.com> Date: Sun, 27 Aug 2023 10:36:46 +0100 Subject: [PATCH] 3324 - Fixes kitchen soda fountain being wrenchable (#4266) # 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: --- code/modules/reagents/chemistry_machinery/chem_dispenser.dm | 1 + 1 file changed, 1 insertion(+) diff --git a/code/modules/reagents/chemistry_machinery/chem_dispenser.dm b/code/modules/reagents/chemistry_machinery/chem_dispenser.dm index 98896013c6ec..6778bdd3c72b 100644 --- a/code/modules/reagents/chemistry_machinery/chem_dispenser.dm +++ b/code/modules/reagents/chemistry_machinery/chem_dispenser.dm @@ -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