Makes orbit menu show antags if DNR

This commit is contained in:
Artur
2021-05-31 18:14:06 +03:00
parent 2ef7516bee
commit 8687312935
2 changed files with 3 additions and 2 deletions
+2 -1
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 && !O.can_reenter_corpse)
was_antagonist = TRUE
serialized["antag"] = A.name
antagonists += list(serialized)
+1 -1
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