From dbceb23823de65deb7662cc7fd68606b4bfbd05f Mon Sep 17 00:00:00 2001 From: RaidMax Date: Wed, 16 Jun 2021 08:51:22 -0500 Subject: [PATCH] fix issue with custom event registration --- Application/EventParsers/BaseEventParser.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Application/EventParsers/BaseEventParser.cs b/Application/EventParsers/BaseEventParser.cs index 285c80d02..47755de9f 100644 --- a/Application/EventParsers/BaseEventParser.cs +++ b/Application/EventParsers/BaseEventParser.cs @@ -120,7 +120,7 @@ namespace IW4MAdmin.Application.EventParsers if (lineSplit.Length > 1) { var type = lineSplit[0]; - return _eventTypeMap.ContainsKey(type) ? (_eventTypeMap[type], type): (GameEvent.EventType.Unknown, null); + return _eventTypeMap.ContainsKey(type) ? (_eventTypeMap[type], type): (GameEvent.EventType.Unknown, lineSplit[0]); } foreach (var (key, value) in _regexMap)