mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-11 23:58:08 -05:00
Fix small issue with saving client kills multithreaded
This commit is contained in:
@ -555,6 +555,8 @@ namespace IW4MAdmin.Plugins.Stats.Helpers
|
||||
try
|
||||
{
|
||||
if (Plugin.Config.Configuration().StoreClientKills)
|
||||
{
|
||||
lock (_hitCache)
|
||||
{
|
||||
_hitCache.Add(hit);
|
||||
|
||||
@ -570,6 +572,7 @@ namespace IW4MAdmin.Plugins.Stats.Helpers
|
||||
_hitCache.Clear();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if (Plugin.Config.Configuration().EnableAntiCheat && !attacker.IsBot && attacker.ClientId != victim.ClientId)
|
||||
|
Reference in New Issue
Block a user