mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-28 22:47:59 +01:00
Fixes machine using power from the area it was created in, rather than using the area it is in (#23188)
* Update machine area when power_change() is called. * Do not attempt to unregister from null powernet * Move to wrench and update wrench_acts * Remove accidental pseudocode --------- Co-authored-by: Adrer <adrermail@gmail.com>
This commit is contained in:
@@ -202,10 +202,7 @@
|
||||
if(on)
|
||||
to_chat(user, "<span class='warning'>Turn it off first!</span>")
|
||||
return
|
||||
if(!I.use_tool(src, user, 0, volume = I.tool_volume))
|
||||
return
|
||||
anchored = !anchored
|
||||
to_chat(user, "<span class='notice'>You [anchored ? "wrench" : "unwrench"] [src].</span>")
|
||||
default_unfasten_wrench(user, I, 4 SECONDS)
|
||||
|
||||
/obj/machinery/atmospherics/portable/scrubber/huge/stationary
|
||||
name = "Stationary Air Scrubber"
|
||||
|
||||
Reference in New Issue
Block a user