From e105275e7ccdad6c0cfd36304ac9db688fcf30ed Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Fri, 24 Feb 2017 23:18:10 -0500 Subject: [PATCH] Restore use of command line args. --- sst.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/sst.py b/sst.py index 97e0387..8a6c772 100755 --- a/sst.py +++ b/sst.py @@ -3156,6 +3156,7 @@ def finish(ifin): prout(_("to think about pigeons.")) game.gamewon = True score() + scanner.chew() # Clean up leftovers def score(): "Compute player's score." @@ -5856,9 +5857,9 @@ def choose(): game.tourn = game.length = 0 game.thawed = False game.skill = SKILL_NONE - scanner.chew() -# if not scanner.inqueue: # Can start with command line options - proutn(_("Would you like a regular, tournament, or saved game? ")) + # Do not chew here, we want to use command-line tokens + if not scanner.inqueue: # Can start with command line options + proutn(_("Would you like a regular, tournament, or saved game? ")) scanner.nexttok() if scanner.sees("tournament"): while scanner.nexttok() == "IHEOL": -- 2.31.1