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-17 07:04:47 -05:00
committed by oranges
parent e0ee608ed6
commit b6d5aba7b2
21 changed files with 66 additions and 85 deletions
@@ -39,11 +39,11 @@
else
var/area/A = get_area(src)
if(!A || !isarea(A) || !A.master)
if(!istype(A))
return 0
if(A.master.powered(EQUIP))
A.master.use_power(amount, EQUIP)
if(A.powered(EQUIP))
A.use_power(amount, EQUIP)
return 1
return 0