diff --git a/TODO.md b/TODO.md index d621e51..7139102 100644 --- a/TODO.md +++ b/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 \ No newline at end of file ++ show armor ++ use rank id as priority \ No newline at end of file diff --git a/YAS/Classes/YASRepInfo.uc b/YAS/Classes/YASRepInfo.uc index ac2a85d..e521651 100644 --- a/YAS/Classes/YASRepInfo.uc +++ b/YAS/Classes/YASRepInfo.uc @@ -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)