mirror of
https://github.com/tstellar/bygfoot.git
synced 2025-01-10 14:13:16 +01:00
Remove unnecessary call to user_event_show_next()
This code path was only hit when query_user_events() returned false, and user_vent_show_next() returns early and does nothing when this is false.
This commit is contained in:
parent
19dce90fa2
commit
47dde3415f
@ -575,7 +575,6 @@ start_week_round(void)
|
|||||||
(week_round > 1 &&
|
(week_round > 1 &&
|
||||||
!query_user_games_in_week_round(week, week_round - 1))))
|
!query_user_games_in_week_round(week, week_round - 1))))
|
||||||
{
|
{
|
||||||
user_event_show_next();
|
|
||||||
end_week_round();
|
end_week_round();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user