Commit c1fd9899 authored by 杨一航's avatar 杨一航

fix

parent 87ca8f60
......@@ -286,8 +286,10 @@ export default class SceneComponent extends MyCocosSceneComponent {
catAni(playAudio?) {
let state = this._status.state
if (!this.isMySide) {
this.cat.getComponent(dragonBones.ArmatureDisplay).playAnimation("normal", 0);
this.cat.getComponent(dragonBones.ArmatureDisplay).playAnimation("begin", 0);
playAudio && this.playAudioByUrl(this.data.waitingTurn, () => {
this.cat.getComponent(dragonBones.ArmatureDisplay).playAnimation("normal", 0);
this._playingAudio = false;
})
return
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment