diff --git a/src/framework/components/anim/system.js b/src/framework/components/anim/system.js index 1bac038e2c8..2be348c0c56 100644 --- a/src/framework/components/anim/system.js +++ b/src/framework/components/anim/system.js @@ -65,7 +65,8 @@ class AnimComponentSystem extends ComponentSystem { }); }); }); - } else if (data.animationAssets) { + } + if (data.animationAssets) { component.animationAssets = Object.assign(component.animationAssets, data.animationAssets); }