Merge pull request #14779 from Arturlang/Orbit_menu_antags
Makes orbit menu show antags if DNR
This commit is contained in:
@@ -83,7 +83,8 @@
|
||||
|
||||
for (var/_A in mind.antag_datums)
|
||||
var/datum/antagonist/A = _A
|
||||
if (A.show_to_ghosts)
|
||||
var/mob/dead/observer/O = user
|
||||
if (A?.show_to_ghosts || !O?.can_reenter_corpse)
|
||||
was_antagonist = TRUE
|
||||
serialized["antag"] = A.name
|
||||
antagonists += list(serialized)
|
||||
|
||||
@@ -165,7 +165,7 @@ export const Orbit = (props, context) => {
|
||||
</Flex>
|
||||
</Section>
|
||||
{antagonists.length > 0 && (
|
||||
<Section title="Ghost-Visible Antagonists">
|
||||
<Section title="Visible Antagonists">
|
||||
{sortedAntagonists.map(([name, antags]) => (
|
||||
<Section key={name} title={name} level={2}>
|
||||
{antags
|
||||
|
||||
Reference in New Issue
Block a user