fix issue with custom event registration
This commit is contained in:
parent
e628ac0e9e
commit
dbceb23823
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user