Fixed drone sounds
This commit is contained in:
parent
4713c8d09a
commit
59d3c87323
|
@ -285,7 +285,7 @@ module TK.SpaceTac.UI {
|
||||||
return {
|
return {
|
||||||
foreground: async (speed: number) => {
|
foreground: async (speed: number) => {
|
||||||
if (speed) {
|
if (speed) {
|
||||||
this.view.gameui.audio.playOnce("battle-drone-deploy");
|
this.view.audio.playOnce("battle-drone-deploy");
|
||||||
}
|
}
|
||||||
await this.addDrone(diff.drone, speed);
|
await this.addDrone(diff.drone, speed);
|
||||||
}
|
}
|
||||||
|
@ -303,7 +303,7 @@ module TK.SpaceTac.UI {
|
||||||
return {
|
return {
|
||||||
foreground: async (speed: number) => {
|
foreground: async (speed: number) => {
|
||||||
if (speed) {
|
if (speed) {
|
||||||
this.view.gameui.audio.playOnce("battle-drone-destroy");
|
this.view.audio.playOnce("battle-drone-destroy");
|
||||||
}
|
}
|
||||||
await this.removeDrone(diff.drone, speed);
|
await this.removeDrone(diff.drone, speed);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue