Use the experimental getArea.

Conflicts:
	code/modules/power/power.dm
This commit is contained in:
ESwordTheCat
2014-04-20 03:28:46 -04:00
committed by ZomgPonies
parent 51c8b9306d
commit 84c296e741
+2 -2
View File
@@ -55,8 +55,8 @@
// increment the power usage stats for an area
/obj/machinery/proc/use_power(var/amount, var/chan = -1, var/autocalled = 0) // defaults to power_channel) // defaults to power_channel
var/area/A = src.myArea
/obj/machinery/proc/use_power(var/amount, var/chan = -1, var/autocalled = 0) // defaults to power_channel
var/area/A = getArea()
if(!A || !isarea(A) || !A.master)
return