Factorio: implement decent option display names for Spoiler

This commit is contained in:
Fabian Dill
2021-08-02 04:57:57 +02:00
parent 40044ac5a6
commit d2add54cd6
3 changed files with 24 additions and 6 deletions

View File

@@ -754,5 +754,7 @@ def roll_alttp_settings(ret: argparse.Namespace, weights, plando_options):
if __name__ == '__main__':
import atexit
atexit.register(input, "Press enter to close.")
confirmation = atexit.register(input, "Press enter to close.")
main()
# in case of error-free exit should not need confirmation
atexit.unregister(confirmation)