invert rank priority
This commit is contained in:
parent
aa22ff296b
commit
a0399309a9
4
TODO.md
4
TODO.md
@ -8,5 +8,5 @@
|
||||
+ dynamic colors for assists
|
||||
- abbreviated dosh display (10K, 15K, etc.)
|
||||
- images for HP (cross, skull with bones if dead)
|
||||
- show armor
|
||||
- use rank id as priority
|
||||
+ show armor
|
||||
+ use rank id as priority
|
@ -177,7 +177,7 @@ private reliable client function FindMyRankInSteamGroups()
|
||||
`callstack();
|
||||
|
||||
foreach SteamGroupRelations(SteamGroupRel)
|
||||
if (SW.CheckPlayerGroup(SteamGroupRel.UID) && SteamGroupRel.RankID > RankRelation.RankID)
|
||||
if (SW.CheckPlayerGroup(SteamGroupRel.UID) && (RankRelation.RankID < 0 || SteamGroupRel.RankID < RankRelation.RankID))
|
||||
RankRelation.RankID = SteamGroupRel.RankID;
|
||||
|
||||
if (RankRelation.RankID != INDEX_NONE)
|
||||
|
Loading…
Reference in New Issue
Block a user