Changeset 486:6dc341ea8950


Ignore:
Timestamp:
04/09/11 20:22:06 (12 years ago)
Author:
Stefano Rivera <stefano@…>
Branch:
default
Phase:
public
Message:

Start new game when using --level

File:
1 edited

Legend:

Unmodified
Added
Removed
  • skaapsteker/__main__.py

    r467 r486  
    6262    engine = Engine(soundsystem)
    6363    if level is not None:
    64         engine.change_scene(LevelScene(engine.game_state, soundsystem, level))
     64        engine.game_state.new_game()
     65        engine.change_scene(LevelScene(engine.game_state, soundsystem, level + '.starting'))
    6566    else:
    6667        engine.change_scene(MenuScene(engine.game_state, soundsystem))
Note: See TracChangeset for help on using the changeset viewer.