try fix
This commit is contained in:
@@ -59,6 +59,8 @@
|
||||
let currentAnim = animationSyncData.animations[index];
|
||||
let { id, name, animDict, animName, duration, loop, flag } = currentAnim;
|
||||
let pair = pairData.find(pair => pair.from == name);
|
||||
if (pair)
|
||||
return;
|
||||
|
||||
if (loop && !player.isPlayingAnim(animDict, animName, 3)) {
|
||||
loadAnimDict(animDict, function () {
|
||||
@@ -67,7 +69,7 @@
|
||||
if (player == mp.players.local) {
|
||||
blockInput = true;
|
||||
}
|
||||
} else if (!loop && player.isPlayingAnim(animDict, animName, 3) && !pair) {
|
||||
} else if (!loop && player.isPlayingAnim(animDict, animName, 3)) {
|
||||
let a = setInterval(function () {
|
||||
if (player == mp.players.local) {
|
||||
blockInput = false;
|
||||
|
||||
Reference in New Issue
Block a user