Remove instanceId == worldId check

This commit is contained in:
Natsumi
2022-09-12 20:51:49 +12:00
parent 116f76a2a5
commit 5fb9158c9d
-7
View File
@@ -730,8 +730,6 @@ speechSynthesis.getVoices();
} }
} else { } else {
ctx.worldId = _tag; ctx.worldId = _tag;
ctx.instanceId = _tag;
ctx.instanceName = _tag;
} }
} }
return ctx; return ctx;
@@ -14356,11 +14354,6 @@ speechSynthesis.getVoices();
return; return;
} }
L.shortName = shortName; L.shortName = shortName;
if (L.worldId === L.instanceId) {
// very janky fix for removing empty worldId instance
L.instanceId = '';
L.instanceName = '';
}
D.id = L.worldId; D.id = L.worldId;
D.$location = L; D.$location = L;
D.treeData = []; D.treeData = [];