home · contact · privacy
Fix face pop-ups on non-faces.
[plomrogue2] / rogue_chat_curses.py
index 983a4221c3508b5383a32bd69497061d3cf9bd1d..fdfc2bcbfb12096dd8b36148f48b2b63454242d8 100755 (executable)
@@ -966,7 +966,7 @@ class TUI:
 
         def draw_face_popup():
             t = self.game.get_thing(self.draw_face)
-            if not t:
+            if not t or not hasattr(t, 'face'):
                 self.draw_face = False
                 return