Fix #10469, 5e14a20: [Script] League Table rating element is a int64 everywhere else

This commit is contained in:
SamuXarick
2023-02-12 14:29:18 +00:00
committed by rubidium42
parent aab580e0ac
commit 6eabbaa751
3 changed files with 10 additions and 10 deletions

View File

@@ -30,7 +30,7 @@ extern LeagueTablePool _league_table_pool;
**/
struct LeagueTableElement : LeagueTableElementPool::PoolItem<&_league_table_element_pool> {
LeagueTableID table; ///< Id of the table which this element belongs to
uint64 rating; ///< Value that determines ordering of elements in the table (higher=better)
int64 rating; ///< Value that determines ordering of elements in the table (higher=better)
CompanyID company; ///< Company Id to show the color blob for or INVALID_COMPANY
std::string text; ///< Text of the element
std::string score; ///< String representation of the score associated with the element