Fixed gameover permission to be endgame