mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-08 03:42:27 +02:00
fix the Script.require based entity import functionality
This commit is contained in:
parent
12ef157316
commit
588ddfde8d
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@
|
|||
}
|
||||
try {
|
||||
var entityJSONImport = Script.require(importLink).Entities;
|
||||
parentProperties.childEntities = entityListToTree(entityJSONImport.Entities);
|
||||
parentProperties.childEntities = entityListToTree(entityJSONImport);
|
||||
return parentProperties;
|
||||
} catch (e) {
|
||||
print('Failed importing entities JSON because: ' + JSON.stringify(e));
|
||||
|
|
Loading…
Reference in a new issue