Changes to same zlevel check

This commit is contained in:
Kyep
2017-02-22 22:50:23 -08:00
parent 7d64003b02
commit 2aa2272553
2 changed files with 23 additions and 11 deletions
+2 -2
View File
@@ -24,7 +24,7 @@
attackby(obj/item/weapon/aiModule/module as obj, mob/user as mob, params)
if(!is_station_level(user.z))
if(is_away_level(user.z))
to_chat(user, "<span class='danger'>Unable to establish a connection</span>: You're too far away from the station!")
return
if(istype(module, /obj/item/weapon/aiModule))
@@ -60,7 +60,7 @@
attackby(obj/item/weapon/aiModule/module as obj, mob/user as mob, params)
if(istype(module, /obj/item/weapon/aiModule))
if(!is_station_level(user.z))
if(is_away_level(user.z))
to_chat(user, "<span class='danger'>Unable to establish a connection</span>: You're too far away from the station!")
return
module.install(src)