Fix computers above z6

This commit is contained in:
Arokha Sieyes
2017-05-21 00:59:23 -04:00
committed by Leshana
parent fbb1a75438
commit f79a23ea48
4 changed files with 4 additions and 4 deletions

View File

@@ -91,7 +91,7 @@
. = ..()
/obj/machinery/computer/security/attack_hand(var/mob/user as mob)
if (src.z > 6)
if (using_map && !(src.z in using_map.station_levels))
user << "<span class='danger'>Unable to establish a connection:</span> You're too far away from the station!"
return
if(stat & (NOPOWER|BROKEN)) return

View File

@@ -274,7 +274,7 @@
/obj/machinery/computer/communications/attack_hand(var/mob/user as mob)
if(..())
return
if (src.z > 6)
if (using_map && !(src.z in using_map.station_levels))
user << "\red <b>Unable to establish a connection</b>: \black You're too far away from the station!"
return

View File

@@ -56,7 +56,7 @@
/obj/machinery/computer/secure_data/attack_hand(mob/user as mob)
if(..())
return
if (src.z > 6)
if (using_map && !(src.z in using_map.station_levels))
user << "<span class='warning'>Unable to establish a connection:</span> You're too far away from the station!"
return
var/dat

View File

@@ -39,7 +39,7 @@
/obj/machinery/computer/skills/attack_hand(mob/user as mob)
if(..())
return
if (src.z > 6)
if (using_map && !(src.z in using_map.station_levels))
user << "<span class='danger'>Unable to establish a connection:</span> You're too far away from the station!"
return
var/dat