mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 10:21:11 +00:00
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:
@@ -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
|
||||
|
||||
@@ -253,3 +253,9 @@ obj/machinery/gateway/centerstation/process()
|
||||
to_chat(user, "<span class='notice'><b>Recalibration successful!</b>: </span>This gate's systems have been fine tuned. Travel to this gate will now be on target.")
|
||||
calibrated = 1
|
||||
return
|
||||
|
||||
/obj/machinery/gateway/centerstation/attack_ghost(mob/user as mob)
|
||||
return src.Bumped(user)
|
||||
|
||||
/obj/machinery/gateway/centeraway/attack_ghost(mob/user as mob)
|
||||
return src.Bumped(user)
|
||||
|
||||
Reference in New Issue
Block a user