mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-26 21:48:21 +01:00
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 <hernandezpierrelouis@protonmail.com>
This commit is contained in:
co-authored by
Pierre-Louis
parent
c6f55533bd
commit
3fc823ba3f
@@ -56,9 +56,8 @@
|
||||
. = TRUE
|
||||
if(!default_unfasten_wrench(user, I, 0))
|
||||
return
|
||||
anchored = !anchored
|
||||
to_chat(user, "<span class='notice'>You [anchored ? "tighten" : "loosen"] [src]'s wheels.</span>")
|
||||
turn_on_or_off(FALSE)
|
||||
if(!anchored)
|
||||
turn_on_or_off(FALSE)
|
||||
|
||||
/obj/machinery/snow_machine/process()
|
||||
if(power_used_this_cycle)
|
||||
|
||||
Reference in New Issue
Block a user