Fix for draw names, sometime (again) empty

This commit is contained in:
Vlyan
2021-12-11 17:27:55 +01:00
parent 5e624b9e02
commit 210d941451
3 changed files with 5 additions and 6 deletions

View File

@@ -681,9 +681,8 @@ export class HelpersL5r5e {
console.log(`L5R5E | Pack not found[${pack}]`);
return;
}
if (!comp.indexed || comp.size < 1) {
await comp.getDocuments();
}
await comp.getDocuments();
const table = await comp.getName(tableName);
if (!table) {
console.log(`L5R5E | Table not found[${tableName}]`, comp, table);