@woosh/meep-engine 2.46.18 → 2.46.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"productName": "Meep",
|
|
5
5
|
"description": "production-ready JavaScript game engine based on Entity Component System Architecture",
|
|
6
6
|
"author": "Alexander Goldring",
|
|
7
|
-
"version": "2.46.
|
|
7
|
+
"version": "2.46.19",
|
|
8
8
|
"main": "build/meep.module.js",
|
|
9
9
|
"module": "build/meep.module.js",
|
|
10
10
|
"scripts": {
|
|
@@ -151,9 +151,10 @@ export class NodeInstance {
|
|
|
151
151
|
this.description = node;
|
|
152
152
|
|
|
153
153
|
//generate endpoints
|
|
154
|
-
this.endpoints = node.getPorts().map(port => {
|
|
154
|
+
this.endpoints = node.getPorts().map((port, port_index) => {
|
|
155
155
|
const endpoint = new NodeInstancePortReference();
|
|
156
156
|
|
|
157
|
+
endpoint.id = port_index;
|
|
157
158
|
endpoint.port = port;
|
|
158
159
|
endpoint.instance = this;
|
|
159
160
|
|