MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / ShowFirstLeagueTable

Function ShowFirstLeagueTable

src/league_gui.cpp:443–451  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

441}
442
443void ShowFirstLeagueTable()
444{
445 auto it = LeagueTable::Iterate();
446 if (!it.empty()) {
447 ShowScriptLeagueTable((*it.begin())->index);
448 } else {
449 ShowPerformanceLeagueTable();
450 }
451}

Callers 1

OnHotkeyMethod · 0.85

Calls 4

ShowScriptLeagueTableFunction · 0.85
emptyMethod · 0.45
beginMethod · 0.45

Tested by

no test coverage detected