@woosh/meep-engine 2.46.33 → 2.46.35
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/build/meep.module.js
CHANGED
|
@@ -99976,7 +99976,7 @@ class CompositeBehavior extends Behavior {
|
|
|
99976
99976
|
const n = many.length;
|
|
99977
99977
|
for (let i = 0; i < n; i++) {
|
|
99978
99978
|
const e = many[i];
|
|
99979
|
-
|
|
99979
|
+
this.addChild(e);
|
|
99980
99980
|
}
|
|
99981
99981
|
}
|
|
99982
99982
|
|
|
@@ -125751,7 +125751,7 @@ class SelectorBehavior extends CompositeBehavior {
|
|
|
125751
125751
|
this.__currentBehaviourIndex = 0;
|
|
125752
125752
|
this.__currentBehaviour = children[0];
|
|
125753
125753
|
|
|
125754
|
-
this.__currentBehaviour.initialize();
|
|
125754
|
+
this.__currentBehaviour.initialize(this.context);
|
|
125755
125755
|
|
|
125756
125756
|
} else {
|
|
125757
125757
|
// no children
|
package/package.json
CHANGED
|
@@ -90,7 +90,7 @@ export class SelectorBehavior extends CompositeBehavior {
|
|
|
90
90
|
this.__currentBehaviourIndex = 0;
|
|
91
91
|
this.__currentBehaviour = children[0];
|
|
92
92
|
|
|
93
|
-
this.__currentBehaviour.initialize();
|
|
93
|
+
this.__currentBehaviour.initialize(this.context);
|
|
94
94
|
|
|
95
95
|
} else {
|
|
96
96
|
// no children
|