fixed the respawn bug and removed hasRespawnedOnce global variable
Merge pull request #23 from johnlok/remove_respawn_variable

fixed the respawn bug and removed hasRespawnedOnce global variable