dont clear state on error or non gracefull quit

This commit is contained in:
2025-08-15 11:34:14 +02:00
parent 987daf7819
commit 59598a1eb1
-2
View File
@@ -491,9 +491,7 @@ if __name__ == '__main__':
try:
main()
except KeyboardInterrupt:
clear_state()
logger.info("Player stopped by user")
except Exception as e:
clear_state()
logger.error(f"Unexpected error: {e}")
raise