From 1a022ad55dbf7c66271460b0a7e1c1b664e0e623 Mon Sep 17 00:00:00 2001 From: Jordan Brown Date: Mon, 23 Oct 2017 16:33:31 -0400 Subject: [PATCH] Fixes teleporters not actually denying teleports from Centcom --- code/game/machinery/teleporter.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/game/machinery/teleporter.dm b/code/game/machinery/teleporter.dm index 1c7268e6c6b..be13cfdcff8 100644 --- a/code/game/machinery/teleporter.dm +++ b/code/game/machinery/teleporter.dm @@ -44,10 +44,10 @@ /obj/machinery/teleport/hub/CollidedWith(atom/movable/AM) if(z == ZLEVEL_CENTCOM) to_chat(AM, "You can't use this here.") + return if(is_ready()) teleport(AM) use_power(5000) - return /obj/machinery/teleport/hub/attackby(obj/item/W, mob/user, params) if(default_deconstruction_screwdriver(user, "tele-o", "tele0", W))