Skip to content

[TF2] Fix collection lootlist rarity colors leaking into descriptions on several UI#1981

Open
rabscootle wants to merge 1 commit into
ValveSoftware:masterfrom
rabscootle:itemdesc-rarityleak-fix
Open

[TF2] Fix collection lootlist rarity colors leaking into descriptions on several UI#1981
rabscootle wants to merge 1 commit into
ValveSoftware:masterfrom
rabscootle:itemdesc-rarityleak-fix

Conversation

@rabscootle

@rabscootle rabscootle commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

Resolves ValveSoftware/Source-1-Games#4031

This PR fixes collection lootlist rarity colors leaking into descriptions on the following UI:

Inspect Panel

image

Mann Co Catalog

image

Live TF code doesn't account for instances where the description skips displaying an item's collection lootlist, resulting in rarity color characters leaking into other text:
image

@rabscootle rabscootle changed the title [TF2] Fix rarity colors leaking into descriptions in several UI [TF2] Fix collection lootlist rarity colors leaking into descriptions in several UI Jul 22, 2026
@rabscootle rabscootle changed the title [TF2] Fix collection lootlist rarity colors leaking into descriptions in several UI [TF2] Fix collection lootlist rarity colors leaking into descriptions on several UI Jul 22, 2026
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.

[TF2] Collection grade colors incorrectly applying to other text

1 participant