mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
Fix computers above z6
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user