Made it so that the game ends if the player has defeated an enemy.