mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
Fixes a problem with advanced_who
Advanced who was doing (Testname represents Ckey, StealthTest represents stealth Ckey) "Testname" for admins when unstealthed, which was good, but it was doing "TestnameStealthTest" when admins were stealthed. This PR makes it start off as "Testname", then checks to see if they are stealthed. If so, it becomes "StealthTest," then adds in all the additional info (If they are observing, in lobby, or playing.)
This commit is contained in:
@@ -56,7 +56,7 @@
|
||||
if(C.holder && C.holder.fakekey)
|
||||
var/entry = "\t[C.key]"
|
||||
var/mob/observer/dead/O = C.mob
|
||||
entry += C.holder.fakekey
|
||||
entry = C.holder.fakekey
|
||||
if(isobserver(O))
|
||||
entry += " - <font color='gray'>Observing</font>"
|
||||
else if(istype(O,/mob/new_player))
|
||||
|
||||
Reference in New Issue
Block a user