Fixed restart bug

the player was able to click the restart button even though he wasn't
dead