diff scripts/pytouhou @ 614:2cf518129725

Delay power assignment to players until the game is started.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Sat, 28 Mar 2015 21:02:05 +0100
parents e9300aae4b24
children 4fa0a8e7d941
line wrap: on
line diff
--- a/scripts/pytouhou
+++ b/scripts/pytouhou
@@ -202,7 +202,7 @@ def main(window, path, data, stage_num, 
 
     game_class = GameBossRush if boss_rush else Game
 
-    common = Common(resource_loader, characters, continues, stage_num - 1)
+    common = Common(resource_loader, characters, continues)
     interface = Interface(resource_loader, common.players[0]) #XXX
     common.interface = interface #XXX
     renderer = GameRenderer(resource_loader, window) if GameRenderer is not None else None