From 3fc823ba3f8974b86fd9dba7acf1b2a799891fbe Mon Sep 17 00:00:00 2001 From: Pierre-Louis <44984704+PIerreLouisH@users.noreply.github.com> Date: Sun, 24 Dec 2023 04:16:37 +0100 Subject: [PATCH] Fix snow machines (#23621) * Fix snow machines Fixes #23620 : snowmachine were let on loose while they can only be turned on when wrenched in the floor. * Remove doublon on anchor message * smoll fix oopsie --------- Co-authored-by: Pierre-Louis --- code/game/machinery/snow_machine.dm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/code/game/machinery/snow_machine.dm b/code/game/machinery/snow_machine.dm index b5c4be8434a..dee2ceb914c 100644 --- a/code/game/machinery/snow_machine.dm +++ b/code/game/machinery/snow_machine.dm @@ -56,9 +56,8 @@ . = TRUE if(!default_unfasten_wrench(user, I, 0)) return - anchored = !anchored - to_chat(user, "You [anchored ? "tighten" : "loosen"] [src]'s wheels.") - turn_on_or_off(FALSE) + if(!anchored) + turn_on_or_off(FALSE) /obj/machinery/snow_machine/process() if(power_used_this_cycle)