From 74c2b7c55bc160efdf22a181ac533e0d8289bd51 Mon Sep 17 00:00:00 2001 From: Uristqwerty Date: Wed, 7 Dec 2011 12:50:05 -0500 Subject: [PATCH] Stealth PM fix: hide stealthmin names in the input box title. --- code/modules/mob/mob.dm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/code/modules/mob/mob.dm b/code/modules/mob/mob.dm index c41cb0351fe..fc6d8a61adb 100644 --- a/code/modules/mob/mob.dm +++ b/code/modules/mob/mob.dm @@ -606,8 +606,13 @@ return if (!ismob(M)) return + + var/recipient_name = M.key + if(M.client && M.client.holder && M.client.stealth) + recipient_name = "Administrator" + //This should have a check to prevent the player to player chat but I am too tired atm to add it. - var/t = input("Message:", text("Private message to [M.key]")) as text|null + var/t = input("Message:", text("Private message to [recipient_name]")) as text|null if (!t || !usr || !M) return if (usr.client && usr.client.holder)