Fixed GameOver util method