Removes most hard-coded z level checks

This commit is contained in:
Crazylemon64
2016-07-31 21:29:03 -07:00
parent f54de64a73
commit bf2bcbce67
122 changed files with 325 additions and 410 deletions
@@ -23,8 +23,7 @@
var/turf/T = get_turf(R)
if(!T)
continue
// TODO: Tie into space manager
if((T.z in config.admin_levels) || T.z > ZLEVEL_EMPTY)
if(!is_teleport_allowed(T.z))
continue
if(R.syndicate == 1)
continue