home · contact · privacy
Fix face pop-ups on non-faces.
[plomrogue2] / rogue_chat.html
index 781fc63b99f7e0618922a7b9088136f540e7353e..ba49e868e16dcf77f7856e757d100e0338af2157 100644 (file)
@@ -1134,7 +1134,7 @@ let tui = {
   },
   draw_face_popup: function() {
       const t = game.things[this.draw_face];
-      if (!t) {
+      if (!t || !t.face) {
           this.draw_face = false;
           return;
       }