changeset 246:235b1faf590e

Update to load_image
author Neil Muller <drnlmuller@gmail.com>
date Sun, 13 May 2012 00:44:31 +0200
parents c39599854a2d
children 594c45f0f685
files gamelib/gamegui.py
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/gamelib/gamegui.py	Sun May 13 00:43:30 2012 +0200
+++ b/gamelib/gamegui.py	Sun May 13 00:44:31 2012 +0200
@@ -559,8 +559,7 @@
 
     def __init__(self, screen, lab):
         super(DevelopmentWindow, self).__init__(screen, lab.game)
-        self.background_image = image.load(
-                filepath('images/engineering_background.jpg'))
+        self.background_image = load_image('images/engineering_background.jpg')
         self.lab = lab
 
         labbut = SwitchWinButton((150, 0), 'SCIENCE!!', lab)