1
1
mirror of https://github.com/tstellar/bygfoot.git synced 2024-12-16 10:21:15 +01:00

Fixed bug request 3257236, always show news after a match

This commit is contained in:
gunnar_g 2012-02-07 11:56:55 +00:00
parent ee0f60f9f3
commit bde900dfdd

View File

@ -534,6 +534,12 @@ game_gui_show_main(void)
current_user.counters[COUNT_USER_TOOK_TURN] = 1;
if((opt_int("int_opt_news_popup") == 2 ||
(opt_int("int_opt_news_popup") == 1 &&
counters[COUNT_NEW_NEWS] == 1)) &&
counters[COUNT_NEWS_SHOWN] == 0 &&
counters[COUNT_NEW_NEWS] != 0)
on_menu_news_activate(NULL, NULL);
if(current_user.counters[COUNT_USER_SHOW_RES] && stat0 != STATUS_LIVE_GAME_PAUSE)
{
on_menu_user_show_last_stats_activate(NULL, NULL);