From 20bcd477b098f481e60f2e40526222e08d6ed30a Mon Sep 17 00:00:00 2001 From: juanjp600 Date: Sun, 28 Aug 2016 10:30:37 -0300 Subject: [PATCH] Made chat spam speed check less aggressive --- Subsurface/Source/Networking/GameServer.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Subsurface/Source/Networking/GameServer.cs b/Subsurface/Source/Networking/GameServer.cs index 9ecf58f9f..77537fe6f 100644 --- a/Subsurface/Source/Networking/GameServer.cs +++ b/Subsurface/Source/Networking/GameServer.cs @@ -1515,7 +1515,7 @@ namespace Barotrauma.Networking else { float similarity = 0; //TODO: find good way to calculate score if this isn't good enough - similarity += sender.ChatSpamSpeed; //the faster messages are being sent, the faster the filter will block + similarity += sender.ChatSpamSpeed*(float)0.05; //the faster messages are being sent, the faster the filter will block for (int i = 0; i < sender.ChatMessages.Count; i++) { float closeFactor = (float)1.0 / ((float)20.0 - i);