diff pcb @ 231:c417bb6c98bf

Search for 102h.exe in the game directory instead of the current directory.
author Thibaut Girka <thib@sitedethib.com>
date Fri, 30 Dec 2011 19:17:55 +0100
parents 9bb26dbb8438
children b0b8825296d0
line wrap: on
line diff
--- a/pcb
+++ b/pcb
@@ -27,9 +27,8 @@ from pytouhou.game.player import PlayerS
 
 
 def main(path, stage_num, rank, character, data):
-    resource_loader = Loader()
-    resource_loader.scan_archives(os.path.join(path, name)
-                                    for name in data)
+    resource_loader = Loader(path)
+    resource_loader.scan_archives(data)
     game = PCBGame(resource_loader, [PlayerState(character=character)], stage_num, rank, 16)
 
     # Load stage data