Forgot to commit these

This commit is contained in:
Regalis
2016-08-28 17:05:39 +03:00
parent f14242ca81
commit 7e644ebb9d
2 changed files with 30 additions and 1 deletions
+1 -1
View File
@@ -1471,7 +1471,7 @@ namespace Barotrauma.Networking
}
float similarity = 0;
similarity += sender.ChatSpamSpeed; //the faster messages are being sent, the faster the filter will block
similarity += sender.ChatSpamSpeed * 0.05f; //the faster messages are being sent, the faster the filter will block
for (int i = 0; i < sender.ChatMessages.Count; i++)
{
float closeFactor = 1.0f / (20.0f - i);