Skip to content

fix(online): Show neutral rank icon for random and unranked-side players - #605

Merged
x64-dev merged 2 commits into
GeneralsOnlineDevelopmentTeam:mainfrom
tintinhamans:arctic/go/fix/lobby-random-rank-icon
Sep 25, 2026
Merged

x64-dev merged 2 commits into
GeneralsOnlineDevelopmentTeam:mainfrom
tintinhamans:arctic/go/fix/lobby-random-rank-icon

Conversation

@tintinhamans

@tintinhamans tintinhamans commented Sep 23, 2026 •

Copy link
Copy Markdown

Follow-up to #599. Some players in the lobby list had no rank icon at all.

ResolveRankIconForUser() returned no icon when the favorite side was below 2, but GetFavoriteSide() returns 0 for players who mostly play Random. Before #599 those players got the neutral rank icon, so this removes the check and lets LookupSmallRankImage() handle it like before (no rank points means no icon, anything else gets the neutral -N icon).

Also fixed rows that scroll into view while a stats batch is in flight: they were skipped until the next 4s refresh. The batch callback now requests them right away, but only users that weren't requested yet this visit, so users without stats can't cause a request loop.

@tintinhamans
tintinhamans force-pushed the arctic/go/fix/lobby-random-rank-icon branch from dbeab66 to ce8e367 Compare September 23, 2026 23:49
@tintinhamans
tintinhamans force-pushed the arctic/go/fix/lobby-random-rank-icon branch from ce8e367 to f3e56d8 Compare September 23, 2026 23:49
@x64-dev
x64-dev merged commit c3e5948 into GeneralsOnlineDevelopmentTeam:main Sep 25, 2026
2 of 5 checks passed
@tintinhamans
tintinhamans deleted the arctic/go/fix/lobby-random-rank-icon branch September 25, 2026 19:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants