Redo teleporter control in nanoui

This commit is contained in:
Aronai Sieyes
2020-05-07 21:10:58 -04:00
parent 0b8872b801
commit adcc8047d6
4 changed files with 186 additions and 169 deletions

View File

@@ -50,8 +50,8 @@
/obj/machinery/teleport/hub/attack_ghost(mob/user as mob)
var/atom/l = loc
var/obj/machinery/computer/teleporter/com = locate(/obj/machinery/computer/teleporter, locate(l.x - 2, l.y, l.z))
if(com.locked)
user.loc = get_turf(com.locked)
if(com?.teleport_control.locked)
user.loc = get_turf(com.teleport_control.locked)
/obj/effect/portal/attack_ghost(mob/user as mob)
if(target)