typo
This commit is contained in:
@@ -55,11 +55,11 @@ export default function animationSync() {
|
|||||||
|
|
||||||
let index = mp.game.joaat(player.animationData.name);
|
let index = mp.game.joaat(player.animationData.name);
|
||||||
let currentAnim = animationSyncData.animations[index];
|
let currentAnim = animationSyncData.animations[index];
|
||||||
let { id, name, animDict, animName, playOnStream, loop, flag } = currentAnim;
|
let { id, name, animDict, animName, duration, loop, flag } = currentAnim;
|
||||||
|
|
||||||
if (player.animationData.loop && !player.isPlayingAnim(animDict, animName, 3)) {
|
if (player.animationData.loop && !player.isPlayingAnim(animDict, animName, 3)) {
|
||||||
loadAnimDict(animDict, function () {
|
loadAnimDict(animDict, function () {
|
||||||
mp.players.exists(player) && 0 !== player.handle && player.taskPlayAnim(animDict, animName, 8, 1, -1, parseInt(flag), 0, !1, !1, !1)
|
mp.players.exists(player) && 0 !== player.handle && player.taskPlayAnim(animDict, animName, 8, 1, duration, parseInt(flag), 0, !1, !1, !1)
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user