Skip to content

Commit

Permalink
Fix a crash that occurs using uberlight.
Browse files Browse the repository at this point in the history
  • Loading branch information
mdsitton committed Jan 6, 2014
1 parent 0f02865 commit 2ba06f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/views/MainMenu/MainMenu.py
Expand Up @@ -366,8 +366,8 @@ def render(self, visibility, topMost):
if self.engine.view.topLayer() is not None:
if self.optionsBG:
self.engine.drawImage(self.optionsBG, (self.opt_bkg_size[2],-self.opt_bkg_size[3]), (w*self.opt_bkg_size[0],h*self.opt_bkg_size[1]), stretched = FULL_SCREEN)

self.engine.drawImage(self.optionsPanel, (1.0,-1.0), (w/2, h/2), stretched = FULL_SCREEN)
if self.optionsPanel:
self.engine.drawImage(self.optionsPanel, (1.0,-1.0), (w/2, h/2), stretched = FULL_SCREEN)
else:
self.engine.drawImage(self.engine.data.loadingImage, (1.0,-1.0), (w/2, h/2), stretched = FULL_SCREEN)

Expand Down

0 comments on commit 2ba06f5

Please sign in to comment.