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
+1 -2
View File
@@ -57,8 +57,7 @@
if(!interactable())
return
// TODO: Tie into space manager
if(computer.z > ZLEVEL_DERELICT)
if(is_away_level(computer.z))
to_chat(usr, "<span class='danger'>Unable to establish a connection</span>: You're too far away from the station!")
return
var/dat