瀏覽代碼

Merge branch 'master' of http://120.92.132.192:23541/TDGame/TDGameClient3D

xiejing 4 年之前
父節點
當前提交
ab31be2d5e
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      assets/scripts/games/ui/fightings/weapons/WeaponBase.ts

+ 1 - 0
assets/scripts/games/ui/fightings/weapons/WeaponBase.ts

@@ -140,6 +140,7 @@ export class WeaponBase extends EventDispatcher{
         this.rightHand.play(this.weaponConfig.handReloadAnimation);
         //左右手同步
         this.leftHand.on(AnimationComponent.EventType.FINISHED,this.ReloadComplete,this,true);
+        SoundManager.single.StopSound("Weapon");
         SoundManager.single.PlaySound("Weapon",this.weaponConfig.reloadSound);
     }