If you keep pressing the space key after death, the character gets up and continues to shoot, and then the game is over. Apart from this bug, it's a good game
Wow, you're a good tester! thanks for spotting that. Already fixed it.