Game Display: check for teams before refreshing reports (fixes #9609)

Regression from 7fa4fe483c
This commit is contained in:
Charles Dang 2024-11-28 22:13:43 -05:00
parent 2c216eec72
commit 4ccfca6b1d

View file

@ -338,6 +338,11 @@ void game_display::layout()
{
display::layout();
// We need teams for the reports below
if(context().teams().empty()) {
return;
}
refresh_report("report_clock");
refresh_report("report_battery");
refresh_report("report_countdown");