From da68163c80717f5130c7f6c8787390147ef91d75 Mon Sep 17 00:00:00 2001 From: Detective Google <48196179+Detective-Google@users.noreply.github.com> Date: Mon, 22 Jun 2020 15:43:32 -0500 Subject: [PATCH] ghosts now appear at round-end --- code/__HELPERS/mobs.dm | 2 ++ code/__HELPERS/roundend.dm | 1 + 2 files changed, 3 insertions(+) diff --git a/code/__HELPERS/mobs.dm b/code/__HELPERS/mobs.dm index 91826ee314..f8f6bca31a 100644 --- a/code/__HELPERS/mobs.dm +++ b/code/__HELPERS/mobs.dm @@ -375,6 +375,8 @@ GLOBAL_LIST_EMPTY(species_list) override = TRUE if(HAS_TRAIT(M, TRAIT_SIXTHSENSE)) override = TRUE + if(SSticker.current_state == GAME_STATE_FINISHED) + override = TRUE if(isnewplayer(M) && !override) continue if(M.stat != DEAD && !override) diff --git a/code/__HELPERS/roundend.dm b/code/__HELPERS/roundend.dm index aa388d7413..fc79c546e7 100644 --- a/code/__HELPERS/roundend.dm +++ b/code/__HELPERS/roundend.dm @@ -233,6 +233,7 @@ for(var/antag_name in total_antagonists) var/list/L = total_antagonists[antag_name] log_game("[antag_name]s :[L.Join(", ")].") + set_observer_default_invisibility(0, "The round is over! You are now visible to the living.") CHECK_TICK SSdbcore.SetRoundEnd()