mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 03:57:13 +01:00
Fixes aghost gateway lockout
This commit is contained in:
@@ -86,11 +86,15 @@
|
||||
/obj/machinery/gateway/centerstation/attack_ghost(mob/user as mob)
|
||||
if(awaygate)
|
||||
user.forceMove(awaygate.loc)
|
||||
else if(user.can_admin_interact())
|
||||
attack_hand(user)
|
||||
else
|
||||
to_chat(user, "[src] has no destination.")
|
||||
|
||||
/obj/machinery/gateway/centeraway/attack_ghost(mob/user as mob)
|
||||
if(stationgate)
|
||||
user.forceMove(stationgate.loc)
|
||||
else if(user.can_admin_interact())
|
||||
attack_hand(user)
|
||||
else
|
||||
to_chat(user, "[src] has no destination.")
|
||||
|
||||
@@ -107,7 +107,7 @@ GLOBAL_DATUM_INIT(the_gateway, /obj/machinery/gateway/centerstation, null)
|
||||
if(!awaygate)
|
||||
to_chat(user, "<span class='notice'>Error: No destination found.</span>")
|
||||
return
|
||||
if(world.time < wait)
|
||||
if(world.time < wait && !user.can_admin_interact())
|
||||
to_chat(user, "<span class='notice'>Error: Warpspace triangulation in progress. Estimated time to completion: [round(((wait - world.time) / 10) / 60)] minutes.</span>")
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user