Fixes aghost gateway lockout

This commit is contained in:
Kyep
2020-10-20 13:44:06 -07:00
parent e84e8ad0fa
commit abca80b8d8
2 changed files with 5 additions and 1 deletions
+4
View File
@@ -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.")
+1 -1
View File
@@ -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