Skip to content

Commit

Permalink
raidboss: set timeline netregexes to capture: false
Browse files Browse the repository at this point in the history
  • Loading branch information
quisquous committed Dec 6, 2023
1 parent 611bec6 commit 235ab80
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion ui/raidboss/timeline_parser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -527,6 +527,11 @@ export class TimelineParser {
this.replacements,
).params;

const regex = buildNetRegexForTrigger(netRegexType, {
...translatedParams,
capture: false,
});

// The original params should be TimelineNetParams, thus so should the output.
if (!isTimelineNetParams(translatedParams))
throw new UnreachableCode();
Expand All @@ -535,7 +540,7 @@ export class TimelineParser {
uniqueid,
'net',
translatedParams,
Regexes.parse(buildNetRegexForTrigger(netRegexType, translatedParams)),
Regexes.parse(regex),
syncCommand.args,
seconds,
lineNumber,
Expand Down

0 comments on commit 235ab80

Please sign in to comment.