mirror of
https://github.com/tstellar/bygfoot.git
synced 2025-02-22 22:37:46 +01:00
Live game status bugfix.
This commit is contained in:
parent
360252dc6b
commit
8441cb596e
@ -100,6 +100,7 @@ live_game_calculate_fixture(Fixture *fix, LiveGame *live_game)
|
|||||||
if(stat2 != -1 || stat5 < -1000)
|
if(stat2 != -1 || stat5 < -1000)
|
||||||
lg_commentary_free_tokens();
|
lg_commentary_free_tokens();
|
||||||
game_post_match(fix);
|
game_post_match(fix);
|
||||||
|
stat0 = STATUS_NONE;
|
||||||
}
|
}
|
||||||
else if(stat0 == STATUS_LIVE_GAME_CHANGE)
|
else if(stat0 == STATUS_LIVE_GAME_CHANGE)
|
||||||
live_game_resume();
|
live_game_resume();
|
||||||
|
@ -490,7 +490,7 @@ end_week_round_update_fixtures(void)
|
|||||||
for(i=0;i<acps->len;i++)
|
for(i=0;i<acps->len;i++)
|
||||||
if(acp(i)->next_fixture_update_week <= week &&
|
if(acp(i)->next_fixture_update_week <= week &&
|
||||||
acp(i)->next_fixture_update_week_round <= week_round)
|
acp(i)->next_fixture_update_week_round <= week_round)
|
||||||
fixture_update(acp(i));
|
fixture_update(acp(i));
|
||||||
|
|
||||||
for(i=0;i<ligs->len;i++)
|
for(i=0;i<ligs->len;i++)
|
||||||
if(query_league_active(&lig(i)) && week ==
|
if(query_league_active(&lig(i)) && week ==
|
||||||
|
Loading…
x
Reference in New Issue
Block a user