mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-27 15:17:01 +01:00
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:
@@ -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>")
|
||||
|
||||
Reference in New Issue
Block a user