1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-10 15:20:48 -05:00

prevent penalties from being lost in edge case alias linkage

small optimization with tasks
This commit is contained in:
RaidMax
2019-09-26 16:08:49 -05:00
parent c332a8a45d
commit 87c1880268
6 changed files with 40 additions and 9 deletions

View File

@ -72,7 +72,6 @@ namespace IW4MAdmin.Application.IO
foreach (var ev in events)
{
_server.Manager.GetEventHandler().AddEvent(ev);
await ev.WaitAsync(Utilities.DefaultCommandTimeout, ev.Owner.Manager.CancellationToken);
}
previousFileSize = fileSize;