diff options
Diffstat (limited to 'web/web_control.c')
-rw-r--r-- | web/web_control.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/web/web_control.c b/web/web_control.c index 4495d51..e75b703 100644 --- a/web/web_control.c +++ b/web/web_control.c @@ -1,4 +1,5 @@ #include "web_control.h" +#include "web_dom.h" #include "web_match.h" #include "web_opts.h" #include "web_prompt.h" @@ -7,6 +8,7 @@ #include "comp.h" +#include <stdbool.h> #include <stdlib.h> #include <stdio.h> #include <string.h> @@ -286,12 +288,14 @@ void start_match() update_player_avg(2, 0); } + dom_enable_exit_dialogue(true); draw_visits(); handle_next(); } void end_match() { + dom_enable_exit_dialogue(false); if (state) free_state(); handle_next(); } |