IPIntel now rounds to 2 decimal points (#36298)
* IPIntel now rounds to 2 decimal points * Nvm i understood what pjb wanted now
This commit is contained in:
@@ -259,7 +259,7 @@ public sealed class IPIntel
|
||||
{
|
||||
_chatManager.SendAdminAlert(Loc.GetString("admin-alert-ipintel-warning",
|
||||
("player", username),
|
||||
("percent", Math.Round(score))));
|
||||
("percent", score)));
|
||||
}
|
||||
|
||||
if (!decisionIsReject)
|
||||
@@ -269,7 +269,7 @@ public sealed class IPIntel
|
||||
{
|
||||
_chatManager.SendAdminAlert(Loc.GetString("admin-alert-ipintel-blocked",
|
||||
("player", username),
|
||||
("percent", Math.Round(score))));
|
||||
("percent", score)));
|
||||
}
|
||||
|
||||
return _rejectBad ? (true, Loc.GetString("ipintel-suspicious")) : (false, string.Empty);
|
||||
|
||||
Reference in New Issue
Block a user