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