Skip to content

Commit

Permalink
Reveal ghosts when the round ends (#51572)
Browse files Browse the repository at this point in the history
* Reveal ghosts when the round ends

* Add feedback

Co-authored-by: MrDoomBringer <emmanuelssr@gmail.com>

* Alive players can now hear dead players when the round is over

Co-authored-by: MrDoomBringer <emmanuelssr@gmail.com>
  • Loading branch information
Mothblocks and MrDoomBringer committed Jun 12, 2020
1 parent 1290f75 commit fae124c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions code/__HELPERS/mobs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -460,6 +460,8 @@ GLOBAL_LIST_EMPTY(species_list)
override = TRUE
if(HAS_TRAIT(M, TRAIT_SIXTHSENSE) && message_type == DEADCHAT_REGULAR)
override = TRUE
if(SSticker.current_state == GAME_STATE_FINISHED)
override = TRUE
if(isnewplayer(M) && !override)
continue
if(M.stat != DEAD && !override)
Expand Down
2 changes: 1 addition & 1 deletion code/__HELPERS/roundend.dm
Original file line number Diff line number Diff line change
Expand Up @@ -246,8 +246,8 @@

CHECK_TICK

//check config blah blah
handle_hearts()
set_observer_default_invisibility(0, "<span class='warning'>The round is over! You are now visible to the living.</span>")

CHECK_TICK

Expand Down

0 comments on commit fae124c

Please sign in to comment.