From 7ca975ba570a90b6e7c4ebb2de213593736db4e9 Mon Sep 17 00:00:00 2001 From: Tkdrg Date: Tue, 26 Jan 2016 14:37:45 -0300 Subject: [PATCH] adminmoreinfo links to antags in ahelp are now red Credits to irishwristwatch0 for the idea. Also, this will conflict with datum antags, so feel free to put it on hold until incoming is done. --- code/modules/admin/verbs/adminhelp.dm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/code/modules/admin/verbs/adminhelp.dm b/code/modules/admin/verbs/adminhelp.dm index e7e89f2f8e4..ed75dc041d4 100644 --- a/code/modules/admin/verbs/adminhelp.dm +++ b/code/modules/admin/verbs/adminhelp.dm @@ -52,7 +52,10 @@ mobs_found += found if(!ai_found && isAI(found)) ai_found = 1 - msg += "[original_word](?|F) " + var/is_antag = 0 + if(found.mind && found.mind.special_role) + is_antag = 1 + msg += "[original_word](?|F) " continue msg += "[original_word] " return msg