@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.cjs CHANGED
@@ -99978,7 +99978,7 @@ class CompositeBehavior extends Behavior {
99978
99978
  const n = many.length;
99979
99979
  for (let i = 0; i < n; i++) {
99980
99980
  const e = many[i];
99981
- r.addChild(e);
99981
+ this.addChild(e);
99982
99982
  }
99983
99983
  }
99984
99984
 
@@ -125753,7 +125753,7 @@ class SelectorBehavior extends CompositeBehavior {
125753
125753
  this.__currentBehaviourIndex = 0;
125754
125754
  this.__currentBehaviour = children[0];
125755
125755
 
125756
- this.__currentBehaviour.initialize();
125756
+ this.__currentBehaviour.initialize(this.context);
125757
125757
 
125758
125758
  } else {
125759
125759
  // no children