mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 10:21:11 +00:00
Let depend on use_power var if we need to know the area.
This commit is contained in:
@@ -120,11 +120,15 @@ Class Procs:
|
||||
return ..()
|
||||
|
||||
/obj/machinery/proc/addAtProcessing()
|
||||
myArea = loc.loc
|
||||
if (use_power)
|
||||
myArea = loc.loc
|
||||
|
||||
machines += src
|
||||
|
||||
/obj/machinery/proc/removeAtProcessing()
|
||||
myArea = null
|
||||
if (myArea)
|
||||
myArea = null
|
||||
|
||||
machines -= src
|
||||
|
||||
/obj/machinery/Destroy()
|
||||
|
||||
Reference in New Issue
Block a user