need to clean scanner before asking for the game type.
authorStas P <stas@stas.(none)>
Tue, 14 Dec 2010 16:24:31 +0000 (19:24 +0300)
committerStas P <stas@stas.(none)>
Tue, 14 Dec 2010 16:24:31 +0000 (19:24 +0300)
Not sure about the command line parameters in the comment.

sst.py

diff --git a/sst.py b/sst.py
index 89715b4ee01afa239baeac14d639bb24782deda0..08377bea38bcd2956ba158391b0482e04bc5b845 100755 (executable)
--- 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":