From a4e4e2bcce7cfe8a01790ff30b1e45c76f3b384b Mon Sep 17 00:00:00 2001 From: MrStonedOne Date: Thu, 8 May 2014 13:19:26 -0700 Subject: [PATCH] Admins without +admin can use jmp herfs while ghosted They already have access to jump to mob and follow, so no reason to deny them this. Only allows access to jmp herfs while ghosted. --- code/modules/admin/topic.dm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/code/modules/admin/topic.dm b/code/modules/admin/topic.dm index de8d3aad943..693732973a6 100644 --- a/code/modules/admin/topic.dm +++ b/code/modules/admin/topic.dm @@ -1203,7 +1203,7 @@ show_player_panel(M) else if(href_list["adminplayerobservejump"]) - if(!check_rights(R_ADMIN)) return + if(!isobserver(usr) && !check_rights(R_ADMIN)) return var/mob/M = locate(href_list["adminplayerobservejump"]) @@ -1213,7 +1213,7 @@ C.jumptomob(M) else if(href_list["adminplayerobservecoodjump"]) - if(!check_rights(R_ADMIN)) return + if(!isobserver(usr) && !check_rights(R_ADMIN)) return var/x = text2num(href_list["X"]) var/y = text2num(href_list["Y"]) @@ -1372,7 +1372,7 @@ H << "You hear something crackle in your ears for a moment before a voice speaks. \"Please stand by for a message from your benefactor. Message as follows, agent. [input]. Message ends.\"" else if(href_list["jumpto"]) - if(!check_rights(R_ADMIN)) return + if(!isobserver(usr) && !check_rights(R_ADMIN)) return var/mob/M = locate(href_list["jumpto"]) usr.client.jumptomob(M)