Eliminated the error message after the game finished.