Skip to content

Commit

Permalink
fix sequence char name split (#1094)
Browse files Browse the repository at this point in the history
  • Loading branch information
sceuick authored Dec 14, 2024
1 parent b89330c commit 8d0d801
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion srv/adapter/payloads.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ function getBasePayload(opts: AdapterProps, stops: string[] = []) {

const sequenceBreakers = Array.from(
new Set(
[opts.char.name.split(' '), opts.replyAs.name.split(' '), ...characterNames].flat()
[opts.char.name?.split(' '), opts.replyAs.name?.split(' '), ...characterNames].flat()
).values()
)
.concat(gen.drySequenceBreakers || [])
Expand Down

0 comments on commit 8d0d801

Please sign in to comment.