X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/static/gitweb.css?a=blobdiff_plain;f=rogue_chat.html;h=23d1a574679c804582021ef1d53b4fe6997e3cfa;hb=e9314285cc797bad29b3621d713ad2a0703c4d2e;hp=ba49e868e16dcf77f7856e757d100e0338af2157;hpb=075ed2b9529e52ab8a5075d56d77e09d2191d9c7;p=plomrogue2 diff --git a/rogue_chat.html b/rogue_chat.html index ba49e86..23d1a57 100644 --- a/rogue_chat.html +++ b/rogue_chat.html @@ -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') {