Bläddra i källkod

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

xiejing 4 år sedan
förälder
incheckning
ab31be2d5e
1 ändrade filer med 1 tillägg och 0 borttagningar
  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);
     }