mirror of
https://github.com/tstellar/bygfoot.git
synced 2025-03-16 02:30:16 +01:00
Don't refresh fixture team pointers at the start of season
This is no longer necessary now that team pointers are stable.
This commit is contained in:
parent
801cb99b74
commit
0f5213bc4e
@ -228,10 +228,6 @@ start_new_season(void)
|
||||
{
|
||||
if(cp(i).add_week == 0)
|
||||
fixture_write_cup_fixtures(&cp(i));
|
||||
/* Reset team pointers using the stored ids
|
||||
(pointers might have changed because of prom/rel). */
|
||||
else if(cp(i).add_week == -1)
|
||||
fixture_refresh_team_pointers(cp(i).fixtures);
|
||||
else if(!query_cup_self_referential(&cp(i)))
|
||||
cup_reset(&cp(i));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user