mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-07 21:58:06 -05:00
re-enable API events
This commit is contained in:
parent
9f63eafd7f
commit
21225cba11
@ -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…
x
Reference in New Issue
Block a user