From 55a4fcc022c762d11b5491dccb3b2853eceb950d Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Tue, 3 Nov 2020 11:49:21 +0100 Subject: [PATCH] Update Layer.js --- Projects/Superalgos/Spaces/Panel-Space/Layer.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Projects/Superalgos/Spaces/Panel-Space/Layer.js b/Projects/Superalgos/Spaces/Panel-Space/Layer.js index 605fd3cd3..f0cc7baae 100644 --- a/Projects/Superalgos/Spaces/Panel-Space/Layer.js +++ b/Projects/Superalgos/Spaces/Panel-Space/Layer.js @@ -231,6 +231,9 @@ function newLayer() { if (thisObject.bot === undefined) { thisObject.bot = UI.projects.superalgos.utilities.meshes.findNodeInNodeMesh(thisObject.definition, 'Trading Bot', undefined, false, true, true, true) } + if (thisObject.bot === undefined) { + thisObject.bot = UI.projects.superalgos.utilities.meshes.findNodeInNodeMesh(thisObject.definition, 'AI Bot', undefined, false, true, true, true) + } if (thisObject.bot === undefined) { thisObject.payload.uiObject.setErrorMessage('Bot not Found') return