Z-level check refactor

This commit is contained in:
Markolie
2015-02-16 20:33:28 +01:00
parent 734893ffa1
commit 8726bad5b0
59 changed files with 132 additions and 131 deletions
@@ -59,7 +59,7 @@
Topic(var/href, var/list/href_list)
if(!interactable() || !computer.radio || ..(href,href_list) )
return
if (computer.z > 1)
if (!(computer.z in config.station_levels))
usr << "\red <b>Unable to establish a connection</b>: \black You're too far away from the station!"
return