Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
443
void ShowFirstLeagueTable()
444
{
445
auto it = LeagueTable::Iterate();
446
if (!it.empty()) {
447
ShowScriptLeagueTable((*it.begin())->index);
448
} else {
449
ShowPerformanceLeagueTable();
450
}
451
}
Callers
1
OnHotkey
Method · 0.85
Calls
4
ShowScriptLeagueTable
Function · 0.85
ShowPerformanceLeagueTable
Function · 0.85
empty
Method · 0.45
begin
Method · 0.45
Tested by
no test coverage detected