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

Fix conditional logic for parsing ignored events

The conditional statement in the event parsing logic was incorrect, causing all events to be parsed regardless of the ignore flag. This change corrects the logic to ensure that only non-ignored events are parsed.
This commit is contained in:
Ayymoss 2024-09-03 20:19:10 +01:00 committed by RaidMax
parent e956ab4d1a
commit a1a69242f7

View File

@ -209,7 +209,7 @@ namespace IW4MAdmin.Application.EventParsers
// avoid parsing base script event (which has no viable properties)
// and anticheat events as they are manually mapped.
// for performance as dynamic "Invoke" is relatively costly due
if (isParseIgnoredEvent)
if (!isParseIgnoredEvent)
{
createdEvent.ParseArguments();
}