experimental getArea() proc.

This commit is contained in:
ESwordTheCat
2014-04-20 08:59:36 +08:00
committed by ZomgPonies
parent 44ee513752
commit 30ad27872f
+8
View File
@@ -31,6 +31,14 @@
. = i
i = findtext(A, B, i + 1)
/obj/machinery/proc/getArea()
var/area/A = loc.loc
if (A != myArea)
myArea = A
. = myArea
/**
* Object pooling.
*