home · contact · privacy
Fix buggy healthy_addch().
[plomrogue] / roguelike-server
index ac6601e2a0cbb8edcf04ceb2ff091d76f6e573b8..c8bf3f71d28f47b95d3a14631ad45c8c60c23731 100755 (executable)
@@ -76,7 +76,8 @@ try:
     else:
         play_game()
 except SystemExit as exit:
-    print("ABORTING: " + exit.args[0])
+    if len(exit.args) < 2 and exit.args[0] != 0:
+        print("ABORTING: " + str(exit.args[0]))
 except:
     print("SOMETHING WENT WRONG IN UNEXPECTED WAYS")
     raise