diff --git a/interface.c b/interface.c index 991fa68..8559381 100644 --- a/interface.c +++ b/interface.c @@ -1562,11 +1562,9 @@ void work_modifier (const char *s, int l) { } void print_fail (struct in_ev *ev) { - if (ev) { - mprint_start (ev); - mprintf (ev, "FAIL\n"); - mprint_end (ev); - } + mprint_start (ev); + mprintf (ev, "FAIL\n"); + mprint_end (ev); } void print_success (struct in_ev *ev) { diff --git a/loop.c b/loop.c index 69a8bb9..a67a6ae 100644 --- a/loop.c +++ b/loop.c @@ -648,6 +648,7 @@ void on_started (struct tgl_state *TLS) { if (wait_dialog_list) { wait_dialog_list = 0; tgl_do_get_dialog_list (TLS, 100, 0, dlist_cb, 0); + return; } #ifdef USE_LUA lua_diff_end (); diff --git a/tgl b/tgl index b75e2e9..5d1763f 160000 --- a/tgl +++ b/tgl @@ -1 +1 @@ -Subproject commit b75e2e9805c257b710d806564422e8b8c4b57cbf +Subproject commit 5d1763f05a448c8a21abfd24e2c40ab1a912db56