Teleport pads are now controlled directly by the teleport control computer program.

Replaces all teleport stations with modular computers with that program.
This commit is contained in:
mikomyazaki
2022-02-20 18:49:56 +00:00
parent 54d25c7697
commit 45d9e9e23c
12 changed files with 167 additions and 332 deletions

View File

@@ -49,8 +49,8 @@
// Now you can click through portals, wormholes, gateways, and teleporters while observing. -Sayu
/obj/machinery/teleport/pad/attack_ghost(mob/user as mob)
if(station?.locked_obj)
var/obj/teleport_obj = station.locked_obj.resolve()
if(locked_obj)
var/obj/teleport_obj = locked_obj.resolve()
if(teleport_obj)
user.forceMove(get_turf(teleport_obj))