@momo2555/koppeliajs 0.0.133 → 0.0.134

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.
@@ -20,8 +20,6 @@ export class Stage {
20
20
  this._console.sendMessage(req);
21
21
  }
22
22
  goto(stage) {
23
- // Destroy all events before changing stage
24
- this._console.destroyEvents();
25
23
  let req = new Message();
26
24
  req.setRequest("changeStage");
27
25
  req.addParam("stage", stage);
@@ -34,6 +32,8 @@ export class Stage {
34
32
  });
35
33
  }
36
34
  _onReceiveStage(from, receivedStage) {
35
+ // Destroy all events before changing stage
36
+ this._console.destroyEvents();
37
37
  let path = "/game/" + get(routeType) + "/" + receivedStage;
38
38
  goto(path);
39
39
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@momo2555/koppeliajs",
3
- "version": "0.0.133",
3
+ "version": "0.0.134",
4
4
  "scripts": {
5
5
  "dev": "vite dev",
6
6
  "build": "vite build && npm run package",