1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-10 07:13:58 -05:00

fix issue with custom event registration

This commit is contained in:
RaidMax
2021-06-16 08:51:22 -05:00
parent d314d7ba2c
commit 66cce8fdd2

View File

@ -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)