Move some GUI related code out of start_end.c and into callback_func.c

This helps separate the core logic from the user interface.
This commit is contained in:
Tom Stellard 2020-12-17 19:45:59 -08:00 committed by Tom Stellard
parent a773634711
commit f9585dc296
2 changed files with 3 additions and 3 deletions

View File

@ -152,6 +152,9 @@ callback_show_next_live_game(void)
treeview_show_user_player_list();
/* no more user games to show: end round. */
end_week_round();
game_gui_show_main();
user_event_show_next();
setsav0;
}

View File

@ -580,9 +580,6 @@ start_week_round(void)
else
{
cur_user = 0;
game_gui_show_main();
user_event_show_next();
}
}