Merge pull request #14779 from Arturlang/Orbit_menu_antags

Makes orbit menu show antags if DNR
This commit is contained in:
silicons
2021-06-09 11:17:14 -07:00
committed by GitHub
2 changed files with 3 additions and 2 deletions

View File

@@ -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)

View File

@@ -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