re-enable API events
This commit is contained in:
parent
2b26b9a707
commit
4d3f7da48e
@ -71,8 +71,6 @@ namespace IW4MAdmin.Application
|
||||
PageList = new PageList();
|
||||
AdditionalEventParsers = new List<IEventParser>();
|
||||
AdditionalRConParsers = new List<IRConParser>();
|
||||
//OnServerEvent += OnGameEvent;
|
||||
//OnServerEvent += EventApi.OnGameEvent;
|
||||
TokenAuthenticator = new TokenAuthentication();
|
||||
_metaService = new MetaService();
|
||||
_tokenSource = new CancellationTokenSource();
|
||||
|
@ -34,6 +34,7 @@ namespace IW4MAdmin.Application
|
||||
{
|
||||
var start = DateTime.Now;
|
||||
await Manager.ExecuteEvent(args.Event);
|
||||
EventApi.OnGameEvent(sender, args);
|
||||
#if DEBUG
|
||||
_profiler.Profile(start, DateTime.Now, args.Event);
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user