home · contact · privacy
Fix fail failure.
authorChristian Heller <c.heller@plomlompom.de>
Fri, 11 Dec 2020 06:24:37 +0000 (07:24 +0100)
committerChristian Heller <c.heller@plomlompom.de>
Fri, 11 Dec 2020 06:24:37 +0000 (07:24 +0100)
rogue_chat.html

index ba49e868e16dcf77f7856e757d100e0338af2157..23d1a574679c804582021ef1d53b4fe6997e3cfa 100644 (file)
@@ -772,7 +772,7 @@ let tui = {
     function fail(msg, return_mode) {
         tui.log_msg('? ' + msg);
         terminal.blink_screen();
-        this.switch_mode(return_mode);
+        tui.switch_mode(return_mode);
     }
 
     if (this.mode && this.mode.name == 'control_tile_draw') {