Slight performance increase for opening large World Infos

This commit is contained in:
Cohee
2023-08-20 13:15:02 +03:00
parent b44c72c639
commit 106f7afdcb
4 changed files with 23 additions and 7 deletions

View File

@ -499,7 +499,7 @@ async function moduleWorker() {
const context = getContext();
// non-characters not supported
if (!context.groupId && context.characterId === undefined) {
if (!context.groupId && (context.characterId === undefined || context.characterId === 'invalid-safety-id')) {
removeExpression();
return;
}