Skip to content

Commit

Permalink
fix: correctly handle empty INCLUDEs
Browse files Browse the repository at this point in the history
  • Loading branch information
floriancargoet committed Sep 26, 2023
1 parent f7cf705 commit a9860f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compiler/Parser/InkParser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1993,7 +1993,7 @@ export class InkParser extends StringParser {
this.Error(`Failed to load: '${filename}'.\nError:${err}`);
}

if (includedString) {
if (includedString != null) {
const parser: InkParser = new InkParser(
includedString,
filename,
Expand Down

0 comments on commit a9860f2

Please sign in to comment.