tgstation/-tg-station — pull request #4340 by MrPerson (2014-08-06 01:52:04+00:00)
Title: Make new_players dereference from their mind when observing

When observing, that observer would be given their original new_player's mind, but that mind would still have the new_player as its current. This caused the new_player to fail to GC and resulted in the observer's mind's current becoming null.

Fix: Just delete the new_player mind when the player observes. If an admin turns them into a human or whatever, a new mind will be created automatically then.