if game.state.galaxy[game.quadrant.i][game.quadrant.j].supernova:
return
elif evcode == FSPY: # Check with spy to see if SC should tractor beam
- if game.state.nscrem == 0 or game.state.iscloaked or \
+ if game.state.nscrem == 0 or game.iscloaked or \
ictbeam or istract or \
game.condition == "docked" or game.isatb == 1 or game.iscate:
return
prout(_("to think about pigeons."))
game.gamewon = True
score()
+ scanner.chew() # Clean up leftovers
def score():
"Compute player's score."
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":