mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-01-09 00:42:34 +00:00
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:
@@ -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))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user