# HG changeset patch # User Emmanuel Gil Peyrot # Date 1367279305 -7200 # Node ID 7058704835598ad6b61b03a67a11bce4ee483b5b # Parent 402e96a0baeb6bc6b746b42d9106310a12361fcb Fix the --no-background option. diff --git a/pytouhou/ui/gamerenderer.py b/pytouhou/ui/gamerenderer.py --- 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)