Fix rangeStart condition in templateCheck function
This commit is contained in:
@@ -27,6 +27,7 @@ export function templateCheck(db:Database){
|
||||
}
|
||||
}
|
||||
else if(c.type === 'chat'){
|
||||
if(c.rangeStart !== -1000){
|
||||
if(c.rangeStart !== 0){
|
||||
startRanges.push(c.rangeStart)
|
||||
}
|
||||
@@ -37,6 +38,7 @@ export function templateCheck(db:Database){
|
||||
reachEnd = true
|
||||
}
|
||||
}
|
||||
}
|
||||
else if(c.type === 'description'){
|
||||
hasDescription = true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user