Files
csgowtf/src/lib/components/ui/PremierRatingBadge.svelte
vikingowl f8cf85661e fix: Improve legacy rank detection logic and add debugging
- Update isLegacyRank check to properly detect CS:GO skill groups (0-18)
- Handle edge case where oldRating could be 0 (unranked)
- Add temporary debug logging to trace rank data values
- Fix detection for matches where rating is outside CS2 range

This will help identify if rank data is being passed correctly from the API.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-12 23:36:49 +01:00

2.4 KiB