Removes area.master. Moves area/New to Initialize (#24134)

* Removes master areas

* Ports area/New to Initialize
This commit is contained in:
Cyberboss
2017-02-18 01:04:47 +13:00
committed by oranges
parent e0ee608ed6
commit b6d5aba7b2
21 changed files with 66 additions and 85 deletions
-2
View File
@@ -146,10 +146,8 @@
/obj/item/areaeditor/proc/get_area()
var/turf/T = get_turf(usr)
var/area/A = T.loc
A = A.master
return A
/obj/item/areaeditor/proc/get_area_type(area/A = get_area())
if(A.outdoors)
return AREA_SPACE
@@ -56,7 +56,7 @@
if(((world.timeofday - last_tick) > 30) || ((world.timeofday - last_tick) < 0))
last_tick = world.timeofday
var/area/A = get_area_master(src)
var/area/A = get_area(src)
if(!A || emped)
on = 0
else