1
1
mirror of https://github.com/tstellar/bygfoot.git synced 2025-01-10 06:04:11 +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:
Tom Stellard 2020-12-17 19:43:21 -08:00 committed by Tom Stellard
parent 19dce90fa2
commit 47dde3415f

View File

@ -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