@gamelearn/arcade-components 2.18.3 → 2.18.5

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.
@@ -58,7 +58,7 @@ var AnimationComponent = function AnimationComponent(_ref) {
58
58
  }
59
59
  });
60
60
 
61
- if (object && animation) {
61
+ if (object && animation && object.skeletonId === animation.skeletonId) {
62
62
  if (makeDefault) {
63
63
  emitEvent({
64
64
  type: 'saveAnimation',
@@ -129,7 +129,7 @@ var DecisionComponent = function DecisionComponent(_ref) {
129
129
  emitEvent({
130
130
  type: 'addPoints',
131
131
  payload: choice.rewards,
132
- finish: true,
132
+ finish: false,
133
133
  complex: true,
134
134
  onFinish: function onFinish() {
135
135
  if (_onFinish) {
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@gamelearn/arcade-components",
3
3
  "author": "Gamelearn",
4
4
  "license": "unlicense",
5
- "version": "2.18.3",
5
+ "version": "2.18.5",
6
6
  "main": "dist/index.js",
7
7
  "files": [
8
8
  "dist",