mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 03:57:13 +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:
@@ -191,7 +191,7 @@
|
||||
|
||||
/obj/machinery/power/teg/wrench_act(mob/user, obj/item/I)
|
||||
. = TRUE
|
||||
if(!I.use_tool(src, user, 0, volume = I.tool_volume))
|
||||
if(!default_unfasten_wrench(user, I, 0))
|
||||
return
|
||||
anchored = !anchored
|
||||
if(!anchored)
|
||||
|
||||
Reference in New Issue
Block a user