diff pytouhou/ui/sdl/gamerenderer.py @ 618:0ea591b0b29e

Fix a build issue introduced in the previous commit. Damn you, cython dependency tracking!
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Mon, 30 Mar 2015 21:00:29 +0200
parents d1f0bb0b7a17
children
line wrap: on
line diff
--- a/pytouhou/ui/sdl/gamerenderer.py
+++ b/pytouhou/ui/sdl/gamerenderer.py
@@ -138,7 +138,7 @@ class GameRenderer:
 
     def render_text(self, texts):
         if self.font_manager is None:
-            return
+            return False
 
         self.font_manager.load(texts)