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:
Myra
2025-04-04 20:42:13 +02:00
committed by GitHub
parent d844ec250e
commit fe1664b46d
2 changed files with 4 additions and 4 deletions

View File

@@ -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);