mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-28 07:38:05 +01:00
## 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 /🆑
10 lines
511 B
Plaintext
10 lines
511 B
Plaintext
/mob/living/carbon/human/examine(mob/user)
|
|
.=..()
|
|
if(!CONFIG_GET(flag/use_rr_opt_in_preferences))
|
|
return
|
|
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>")
|