Lets you can see dead people RR status (#5457)

## About The Pull Request
Fixes round removal status to show when someone is already dead.
Previously it only worked when the ghost is still in body but if they
left the body to orbit something, it wouldn’t show their rr status
## Why It's Good For The Game
fixes good, You will be able to see if someone had round removal enabled
after you killed them
## Proof Of Testing
<details>
<summary>Screenshots/Videos</summary>
<img width="408" height="232" alt="examine"
src="https://github.com/user-attachments/assets/32d3d715-bca6-42ce-920e-418c4228bfad"
/>

</details>

## Changelog
🆑
fix: Now you can see people's round removal status after they died
/🆑
This commit is contained in:
explosivekitty
2026-04-18 15:27:38 +02:00
committed by GitHub
parent 22608b3c7b
commit 24aab5d4e4
@@ -1,6 +1,9 @@
/mob/living/carbon/human/examine(mob/user)
.=..()
if(!CONFIG_GET(flag/use_rr_opt_in_preferences) || !client)
if(!CONFIG_GET(flag/use_rr_opt_in_preferences))
return
var/rr_status = src.client.prefs.read_preference(/datum/preference/toggle/be_round_removed)
var/mob/dead/observer/ghost = get_ghost(TRUE, TRUE)
if(!(ghost?.client) && !client)
return
var/rr_status = client ? client.prefs.read_preference(/datum/preference/toggle/be_round_removed) : ghost.client.prefs.read_preference(/datum/preference/toggle/be_round_removed)
. += span_info("Round Removal: <b><font color='[rr_status ? COLOR_RED : COLOR_EMERALD]'>[rr_status ? "Yes" : "No"]</font></b>")