Combat: 3+ targets should automatically kick the connection

This commit is contained in:
CPunch 2023-03-01 11:18:41 -06:00
parent dbd2ec2270
commit 2914b95cff

View File

@ -69,7 +69,7 @@ static bool checkRapidFire(CNSocket *sock, int targetCount) {
// 3+ targets should never be possible
if (targetCount > 3)
plr->suspicionRating += 10000;
plr->suspicionRating += 10001;
// kill the socket when the player is too suspicious
if (plr->suspicionRating > 10000) {