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'){
|
else if(c.type === 'chat'){
|
||||||
|
if(c.rangeStart !== -1000){
|
||||||
if(c.rangeStart !== 0){
|
if(c.rangeStart !== 0){
|
||||||
startRanges.push(c.rangeStart)
|
startRanges.push(c.rangeStart)
|
||||||
}
|
}
|
||||||
@@ -37,6 +38,7 @@ export function templateCheck(db:Database){
|
|||||||
reachEnd = true
|
reachEnd = true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
else if(c.type === 'description'){
|
else if(c.type === 'description'){
|
||||||
hasDescription = true
|
hasDescription = true
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user