Checkpoint current interactive fiction changes
This commit is contained in:
@@ -289,6 +289,12 @@ export class InkEngine {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!currentText) {
|
||||
previous.tags.push(tag);
|
||||
remainingTags.push(tag);
|
||||
return;
|
||||
}
|
||||
|
||||
const matchesCurrent = currentText.includes(term);
|
||||
const matchesPrevious = previousText.includes(term);
|
||||
if (!matchesCurrent && matchesPrevious) {
|
||||
|
||||
Reference in New Issue
Block a user