From a1a69242f73f30cba66653a9929b70b587c1ab15 Mon Sep 17 00:00:00 2001 From: Ayymoss Date: Tue, 3 Sep 2024 20:19:10 +0100 Subject: [PATCH] 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. --- 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 365232fb..15637929 100644 --- a/Application/EventParsers/BaseEventParser.cs +++ b/Application/EventParsers/BaseEventParser.cs @@ -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(); }