mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-26 21:48:21 +01:00
Let depend on use_power var if we need to know the area.
This commit is contained in:
@@ -119,11 +119,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