Skip to content

Commit

Permalink
Fix conditional logic for parsing ignored events
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Ayymoss authored and RaidMax committed Sep 7, 2024
1 parent e956ab4 commit a1a6924
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Application/EventParsers/BaseEventParser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down

0 comments on commit a1a6924

Please sign in to comment.