player can input when dead bug fix