mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2024-11-25 14:30:14 +00:00
Combat: 3+ targets should automatically kick the connection
This commit is contained in:
parent
dbd2ec2270
commit
2914b95cff
@ -69,7 +69,7 @@ static bool checkRapidFire(CNSocket *sock, int targetCount) {
|
|||||||
|
|
||||||
// 3+ targets should never be possible
|
// 3+ targets should never be possible
|
||||||
if (targetCount > 3)
|
if (targetCount > 3)
|
||||||
plr->suspicionRating += 10000;
|
plr->suspicionRating += 10001;
|
||||||
|
|
||||||
// kill the socket when the player is too suspicious
|
// kill the socket when the player is too suspicious
|
||||||
if (plr->suspicionRating > 10000) {
|
if (plr->suspicionRating > 10000) {
|
||||||
|
Loading…
Reference in New Issue
Block a user