From 8d70181ecf4dd63bb3727defbf394514333fb225 Mon Sep 17 00:00:00 2001 From: Linzolle Date: Thu, 9 Jan 2020 22:41:50 -0600 Subject: [PATCH 1/2] uh oh stinky --- code/modules/admin/admin_verbs.dm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/modules/admin/admin_verbs.dm b/code/modules/admin/admin_verbs.dm index c3ffd10174..c1aa50ff3a 100644 --- a/code/modules/admin/admin_verbs.dm +++ b/code/modules/admin/admin_verbs.dm @@ -437,6 +437,8 @@ GLOBAL_PROTECT(admin_verbs_hideable) /client/proc/stealth() set category = "Admin" set name = "Stealth Mode" + if(!check_rights(R_STEALTH, 0)) + return if(holder) if(holder.fakekey) holder.fakekey = null From dc0fdebc2164318cd1706289e9e850025a5ccdd1 Mon Sep 17 00:00:00 2001 From: Linzolle Date: Thu, 9 Jan 2020 22:46:43 -0600 Subject: [PATCH 2/2] hrmngh colonel --- code/modules/admin/admin_verbs.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/modules/admin/admin_verbs.dm b/code/modules/admin/admin_verbs.dm index c1aa50ff3a..8a7269ccad 100644 --- a/code/modules/admin/admin_verbs.dm +++ b/code/modules/admin/admin_verbs.dm @@ -437,9 +437,9 @@ GLOBAL_PROTECT(admin_verbs_hideable) /client/proc/stealth() set category = "Admin" set name = "Stealth Mode" - if(!check_rights(R_STEALTH, 0)) - return if(holder) + if(!check_rights(R_STEALTH, 0)) + return if(holder.fakekey) holder.fakekey = null if(isobserver(mob))