I am trying to do an arcade in python for my final in engineering. Everything is working so far except when I close one game with pygame.quit (), then it throws the following error.