Fix ghosts causing portals to spark

This commit is contained in:
Tad Hardesty
2017-10-30 22:35:46 -07:00
committed by CitadelStationBot
parent fa784b1d1a
commit 4e0a5bf3de
2 changed files with 1 additions and 7 deletions
-6
View File
@@ -60,12 +60,6 @@
// And here are some good things for free:
// Now you can click through portals, wormholes, gateways, and teleporters while observing. -Sayu
/obj/machinery/teleport/hub/attack_ghost(mob/user)
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 && com.locked)
user.forceMove(get_turf(com.locked))
/obj/effect/portal/attack_ghost(mob/user)
if(linked)
user.forceMove(get_turf(linked))