Changed isGameFinished().