Skip to content

Commit

Permalink
Merge branch 'fix/incorrect-substring' of github.com:y-lohse/inkjs in…
Browse files Browse the repository at this point in the history
…to fix/incorrect-substring
  • Loading branch information
smwhr committed Feb 26, 2023
2 parents 91364e7 + 2814c3c commit eb78a98
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/engine/StoryState.ts
Original file line number Diff line number Diff line change
Expand Up @@ -815,10 +815,7 @@ export class StoryState {
}

if (innerStrEnd > innerStrStart) {
let innerStrText = str.substring(
innerStrStart,
innerStrEnd - innerStrStart
);
let innerStrText = str.substring(innerStrStart, innerStrEnd);
listTexts.push(new StringValue(innerStrText));
}

Expand Down

0 comments on commit eb78a98

Please sign in to comment.