@gamelearn/arcade-components 3.42.0 → 3.42.1
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.
|
@@ -32848,7 +32848,7 @@ function fX({ character: u, ttsStarted: t, active: e, onLoad: n }) {
|
|
|
32848
32848
|
if (o) {
|
|
32849
32849
|
if (u.animationId && ((y = u.animation) != null && y.url))
|
|
32850
32850
|
return u.animation;
|
|
32851
|
-
const O = u.emotion === "neutral" ? "idle" :
|
|
32851
|
+
const O = u.emotion === "neutral" ? "idle" : u.emotion;
|
|
32852
32852
|
return (x = (A = (E = u == null ? void 0 : u.resource) == null ? void 0 : E.animations) == null ? void 0 : A[O]) != null && x.url ? (C = (T = u == null ? void 0 : u.resource) == null ? void 0 : T.animations) == null ? void 0 : C[O] : (M = (R = u == null ? void 0 : u.resource) == null ? void 0 : R.animations) == null ? void 0 : M.idle;
|
|
32853
32853
|
}
|
|
32854
32854
|
return {};
|