From 209278d49773c1fa16cea287eef35b982b0c9193 Mon Sep 17 00:00:00 2001 From: joep van der velden Date: Wed, 11 Mar 2020 22:17:07 +0100 Subject: [PATCH] Makes the FLW command ignore permissions if you're already an observer --- code/modules/admin/topic.dm | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/code/modules/admin/topic.dm b/code/modules/admin/topic.dm index 2d98626a1c3..7c895606f86 100644 --- a/code/modules/admin/topic.dm +++ b/code/modules/admin/topic.dm @@ -1551,13 +1551,12 @@ show_player_panel(M) else if(href_list["adminplayerobservefollow"]) - if(!check_rights(R_ADMIN|R_MOD)) - return - - var/mob/M = locateUID(href_list["adminplayerobservefollow"]) - var/client/C = usr.client - if(!isobserver(usr)) C.admin_ghost() + if(!isobserver(usr)) + if(!check_rights(R_ADMIN|R_MOD)) // Need to be mod or admin to aghost + return + C.admin_ghost() + var/mob/M = locateUID(href_list["adminplayerobservefollow"]) var/mob/dead/observer/A = C.mob sleep(2) A.ManualFollow(M)