tgstation/-tg-station — pull request #870 by Incoming5643 (2013-06-27 19:31:51+00:00)
Title: Attempting to ghost while in critical will now succumb then ghost...

...as a courtesy to streamline their ragequit experience.

Rules for Succumb/Ghost as of this pull

Succumbing
While Alive outside of crit: Does nothing
While Alive in crit: Kills the body with oxyloss but leaves the player in the body
While Dead: Does nothing
While Ghosted: Does nothing

Ghosting
While Alive outside of crit: Ghosts the player after confirmation, leaving the body unable to be reentered
While Alive in crit: Kills the body with oxyloss, ghosts the player, the body may be reentered
While Dead: Ghosts the player, the body may be reentered
While Ghosted: Reenters the body, if it can be reentered