From: Stas P Date: Tue, 14 Dec 2010 16:24:31 +0000 (+0300) Subject: need to clean scanner before asking for the game type. X-Git-Tag: 2.2~115^2~4 X-Git-Url: https://jxself.org/git/?p=super-star-trek.git;a=commitdiff_plain;h=972cea516e66fb65c86f084103f583d1c51941ef need to clean scanner before asking for the game type. Not sure about the command line parameters in the comment. --- diff --git a/sst.py b/sst.py index 89715b4..08377be 100755 --- a/sst.py +++ b/sst.py @@ -5508,8 +5508,9 @@ def choose(): game.tourn = game.length = 0 game.thawed = False game.skill = SKILL_NONE - if not scanner.inqueue: # Can start with command line options - proutn(_("Would you like a regular, tournament, or saved game? ")) + scanner.chew() +# if not scanner.inqueue: # Can start with command line options + proutn(_("Would you like a regular, tournament, or saved game? ")) scanner.next() if scanner.sees("tournament"): while scanner.next() == "IHEOL":