[MIRROR] Fixes teleporters not actually denying teleports from Centcom (#3598)
* Merge pull request #32043 from tgstation/Cyberboss-patch-3 Fixes teleporters not actually denying teleports from Centcom * Fixes teleporters not actually denying teleports from Centcom
This commit is contained in:
committed by
Poojawa
parent
b6b6c27c3f
commit
2f74805a46
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user