this code that i wrote runs fine in my ide and the exe version. but the problem arises when i try to close the program. it shows me this error(and yes, i've imported sys and used sys.exit() instead of quit().):
File "source.py", line 77, in File "source.py", line 41, in main for event in pygame.event.get(): NameError: name 'quit' is not defined
my game is almost done, and this is the only thing that bothers me. any help would be appreciated.