Fix ghosts being unable to use gateways (#10043)

* fix ghosts being unable to use gateways

putting gateway code outside of gateway.dm is gay as fuck

* remove this shit from observer.dm

* and add it to gateway.dm
This commit is contained in:
unid15
2016-05-15 02:37:16 +02:00
committed by clusterfack
parent 24e1c261b9
commit a117923cbc
2 changed files with 6 additions and 12 deletions

View File

@@ -97,18 +97,6 @@
if(target)
user.loc = get_turf(target)
/obj/machinery/gateway/centerstation/attack_ghost(mob/user as mob)
if(awaygate)
user.loc = awaygate.loc
else
to_chat(user, "[src] has no destination.")
/obj/machinery/gateway/centeraway/attack_ghost(mob/user as mob)
if(stationgate)
user.loc = stationgate.loc
else
to_chat(user, "[src] has no destination.")
// -------------------------------------------
// This was supposed to be used by adminghosts
// I think it is a *terrible* idea