mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-10 15:20:48 -05:00
refactor some event handling
add concept of blocking events
This commit is contained in:
@ -36,7 +36,7 @@ namespace IW4MAdmin.Plugins.Stats.Commands
|
||||
clientStats.EloRating = 200.0;
|
||||
|
||||
// reset the cached version
|
||||
Plugin.Manager.ResetStats(E.Origin.ClientId, serverId);
|
||||
Plugin.Manager.ResetStats(E.Origin);
|
||||
|
||||
// fixme: this doesn't work properly when another context exists
|
||||
await ctx.SaveChangesAsync();
|
||||
|
Reference in New Issue
Block a user