Dropped wxpython because of stability issues.

This commit is contained in:
Storm Dragon
2025-07-10 00:53:36 -04:00
parent a17a4c6f15
commit 68ffde0fc7
3 changed files with 186 additions and 11 deletions

View File

@ -485,6 +485,12 @@ def exit_game(fade=0):
except Exception as e:
print(f"Warning: Could not handle music during exit: {e}")
# Clean up pygame mixer first
try:
pygame.mixer.quit()
except Exception as e:
print(f"Warning: Error during pygame.mixer.quit(): {e}")
# Clean up pygame
try:
pygame.quit()