From 52596b98d89f7a7529c0d6b3847c20fa1642e8e9 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 @@ public virtual GameEvent GenerateGameEvent(string logLine) // 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(); }