[MIRROR] another fix for mentor replies (#11863)

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2025-10-24 13:11:20 -07:00
committed by GitHub
parent a6089302a7
commit 1ddedcf57b
4 changed files with 11 additions and 8 deletions

View File

@@ -103,10 +103,13 @@ GLOBAL_LIST_INIT(blacklisted_builds, list(
//Admin PM
if(href_list["priv_msg"])
var/client/C = locate(href_list["priv_msg"])
var/passed_key = href_list["priv_msg"]
var/client/C = locate(passed_key)
if(ismob(C)) //Old stuff can feed-in mobs instead ofGLOB.clients
var/mob/M = C
C = M.client
if(!C && istext(passed_key))
C = passed_key
cmd_admin_pm(C,null)
return