From: Christian Heller Date: Fri, 11 Dec 2020 06:24:37 +0000 (+0100) Subject: Fix fail failure. X-Git-Url: https://plomlompom.com/repos/%7B%7B%20web_path%20%7D%7D/cards/%7B%7Bcard_id%7D%7D/task?a=commitdiff_plain;h=e9314285cc797bad29b3621d713ad2a0703c4d2e;p=plomrogue2 Fix fail failure. --- 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') {