fixes up player deaths and respawns