From 5fb9158c9dcef5229cb848df66a3b36fb117038a Mon Sep 17 00:00:00 2001 From: Natsumi Date: Mon, 12 Sep 2022 20:51:49 +1200 Subject: [PATCH] Remove instanceId == worldId check --- html/src/app.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/html/src/app.js b/html/src/app.js index 7f528b58..c6217ccf 100644 --- a/html/src/app.js +++ b/html/src/app.js @@ -730,8 +730,6 @@ speechSynthesis.getVoices(); } } else { ctx.worldId = _tag; - ctx.instanceId = _tag; - ctx.instanceName = _tag; } } return ctx; @@ -14356,11 +14354,6 @@ speechSynthesis.getVoices(); return; } 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.$location = L; D.treeData = [];