changeset 406:705870483559

Fix the --no-background option.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Tue, 30 Apr 2013 01:48:25 +0200
parents 402e96a0baeb
children b4be9b50557e
files pytouhou/ui/gamerenderer.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/pytouhou/ui/gamerenderer.py
+++ b/pytouhou/ui/gamerenderer.py
@@ -43,6 +43,8 @@ class GameRenderer(Renderer):
         if game:
             # Preload textures
             self.texture_manager.preload(game.resource_loader.instanced_anms.values())
+
+        if background:
             self.prerender_background(background)