fix issue with button detection
This commit is contained in:
parent
1484d63b97
commit
59f1699228
@ -331,7 +331,6 @@ namespace IW4MAdmin.Plugins.Stats.Cheat
|
||||
if (!shouldIgnoreDetection)
|
||||
{
|
||||
validButtonHitCount++;
|
||||
}
|
||||
|
||||
double lastDiff = hit.TimeOffset - hit.TimeSinceLastAttack;
|
||||
if (validButtonHitCount > 0 && lastDiff <= 0)
|
||||
@ -344,6 +343,7 @@ namespace IW4MAdmin.Plugins.Stats.Cheat
|
||||
Type = DetectionType.Button
|
||||
});
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region SESSION_RATIOS
|
||||
|
Loading…
Reference in New Issue
Block a user