fixed respawn bug

player now respawns in the correct state if died while swinging