base2-runner: fix typos causing syntax errors master
authorTJ <git@iam.tj>
Sun, 1 Dec 2013 15:56:50 +0000 (15:56 +0000)
committerTJ <git@iam.tj>
Sun, 1 Dec 2013 15:56:50 +0000 (15:56 +0000)
base2-runner.py

index 6f274ae..cf42f31 100755 (executable)
@@ -144,7 +144,7 @@ class Base2Runner(object):
   return error_code
 
 
- def main(self, args, env)
+ def main(self, args, env):
   """ entry point for starting the game """
   time.sleep(10) # keep splash screen up for a little longer
   return self.play()
@@ -164,6 +164,6 @@ if __name__ == '__main__':
  resources['soundtrack.url'] = 'http://freemusicarchive.org/music/Rolemusic/'
 
  # instantiate the program, which will also initialise the display and show a splash screen
- app = Base2Runner(iwidth=900, height=600, title="BaseĀ² Runner", resources=resources, debug=True)
+ app = Base2Runner(width=900, height=600, title="BaseĀ² Runner", resources=resources, debug=True)
  # start the program with any command-line arguments and environment and exit using any error code it returns
  exit( app.main(sys.argv[1:], os.environ) )