use rankID as priority
This commit is contained in:
parent
f3d2c7a5f1
commit
aa22ff296b
@ -177,7 +177,7 @@ private reliable client function FindMyRankInSteamGroups()
|
||||
`callstack();
|
||||
|
||||
foreach SteamGroupRelations(SteamGroupRel)
|
||||
if (SW.CheckPlayerGroup(SteamGroupRel.UID))
|
||||
if (SW.CheckPlayerGroup(SteamGroupRel.UID) && SteamGroupRel.RankID > RankRelation.RankID)
|
||||
RankRelation.RankID = SteamGroupRel.RankID;
|
||||
|
||||
if (RankRelation.RankID != INDEX_NONE)
|
||||
|
Loading…
x
Reference in New Issue
Block a user