From 343ded8c6f9cea43e1570e31d50c531ee18307e8 Mon Sep 17 00:00:00 2001 From: Alezia Kurdis <60075796+AleziaKurdis@users.noreply.github.com> Date: Sat, 21 Nov 2020 22:02:49 -0500 Subject: [PATCH] Minor code adjustments Minor code adjustments --- scripts/system/create/edit.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/system/create/edit.js b/scripts/system/create/edit.js index 3c6f43d3a15..bc7afd8dc3f 100644 --- a/scripts/system/create/edit.js +++ b/scripts/system/create/edit.js @@ -2931,7 +2931,7 @@ function getDomainOnlyChildrenIDs(id) { var properties; for (var i = 0; i < allChildren.length; i++) { properties = Entities.getEntityProperties(allChildren[i], ["name"]); - if (properties.name !== entityShapeVisualizerSessionName && properties.name !== undefined) { + if (properties.name !== undefined && properties.name !== entityShapeVisualizerSessionName) { realChildren.push(allChildren[i]); } }