[MIRROR] Changing changeling (Refactor) (#11142)

Co-authored-by: Cameron Lennox <killer65311@gmail.com>
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2025-07-04 19:54:55 -07:00
committed by GitHub
parent 9feb91ec4c
commit a0c273ce1f
83 changed files with 1385 additions and 1382 deletions

View File

@@ -119,7 +119,15 @@
/mob/proc/update_examine_panel(var/atom/A)
if(client)
var/is_antag = ((mind && mind.special_role) || isobserver(src)) //ghosts don't have minds
var/is_antag
if((mind && mind.special_role) || isobserver(src)) //todo: Phase out special_role entirely and make it check for component/antag entirely.
is_antag = TRUE
else if(isliving(src))
var/datum/component/antag/comp = GetComponent(/datum/component/antag)
if(comp)
is_antag = TRUE
else if(mind && mind.antag_holder.is_antag())
is_antag = TRUE
client.update_description_holders(A, is_antag)
SSstatpanels.set_examine_tab(client)