Bug Fix: Failing to Load Plugins + Tutorials Not Playing

This commit is contained in:
Smidy13 committed 2021-06-11 18:55:03 +12:00
1 parent ad21aa8eb1
commit 70bcb9580f
2 files changed
+9 -2

No files matched your search

@@ -142,8 +142,12 @@ function newFoundationsFunctionLibraryUiObjectsFromNodes() {
let project = "Foundations"
try {
let config = JSON.parse(pluginFile.config)
project = config.project
name = config.fileName
if (config.project !== undefined) {
project = config.project
}
if (config.fileName !== undefined) {
name = config.fileName
}
} catch (err) { }
httpRequest(undefined, 'LoadPlugin' + '/' + project + '/' + pluginType + '/' + name + '.json', onFileReceived)