diff --git a/src/ts/process/templates/templateCheck.ts b/src/ts/process/templates/templateCheck.ts index 46e05f5b..6cd90992 100644 --- a/src/ts/process/templates/templateCheck.ts +++ b/src/ts/process/templates/templateCheck.ts @@ -27,14 +27,16 @@ export function templateCheck(db:Database){ } } else if(c.type === 'chat'){ - if(c.rangeStart !== 0){ - startRanges.push(c.rangeStart) - } - if(c.rangeEnd !== 'end'){ - endRanges.push(c.rangeEnd) - } - else{ - reachEnd = true + if(c.rangeStart !== -1000){ + if(c.rangeStart !== 0){ + startRanges.push(c.rangeStart) + } + if(c.rangeEnd !== 'end'){ + endRanges.push(c.rangeEnd) + } + else{ + reachEnd = true + } } } else if(c.type === 'description'){