Skip to content

Commit 8d0d801

Browse files
authored
fix sequence char name split (#1094)
1 parent b89330c commit 8d0d801

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

srv/adapter/payloads.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ function getBasePayload(opts: AdapterProps, stops: string[] = []) {
5151

5252
const sequenceBreakers = Array.from(
5353
new Set(
54-
[opts.char.name.split(' '), opts.replyAs.name.split(' '), ...characterNames].flat()
54+
[opts.char.name?.split(' '), opts.replyAs.name?.split(' '), ...characterNames].flat()
5555
).values()
5656
)
5757
.concat(gen.drySequenceBreakers || [])

0 commit comments

Comments
 (0)