From 71feaa4f8fee4d2210eb0fe3adb41c1faa224752 Mon Sep 17 00:00:00 2001 From: Arokha Sieyes Date: Mon, 8 May 2017 03:22:20 -0400 Subject: [PATCH] Communications computer fix Stupid code. Why would you do that. Reference using_map instead of hard coding z levels. --- code/game/machinery/computer/communications.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/game/machinery/computer/communications.dm b/code/game/machinery/computer/communications.dm index a738ea66c1..0703d9f7e1 100644 --- a/code/game/machinery/computer/communications.dm +++ b/code/game/machinery/computer/communications.dm @@ -52,7 +52,7 @@ /obj/machinery/computer/communications/Topic(href, href_list) if(..()) return 1 - if (src.z > 1) + if (using_map && !(src.z in using_map.station_levels)) usr << "\red Unable to establish a connection: \black You're too far away from the station!" return usr.set_machine(src)