mirror of
https://github.com/shavitush/bhoptimer.git
synced 2025-12-07 10:28:26 +00:00
Fixed percentile rankings being broken.
This commit is contained in:
parent
dc2eddf83f
commit
10f4cd2c2e
@ -212,7 +212,7 @@ bool LoadChatConfig()
|
||||
|
||||
else
|
||||
{
|
||||
aChatTitle[iCRRangeType] = (StrContains(sRanks, "%%") == -1)? Rank_Flat:Rank_Percentage;
|
||||
aChatTitle[iCRRangeType] = (StrContains(sRanks, "%") == -1)? Rank_Flat:Rank_Percentage;
|
||||
}
|
||||
|
||||
ReplaceString(sRanks, 32, "p", "");
|
||||
@ -894,8 +894,6 @@ bool HasRankAccess(int client, int rank)
|
||||
|
||||
if(aCache[fCRFrom] <= fPercentile <= aCache[fCRTo])
|
||||
{
|
||||
PrintToServer("%.1f <= %.2f <= %.2f", aCache[fCRFrom], fPercentile, aCache[fCRTo]);
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user