1
0
Fork 0

Fixed drone sounds

This commit is contained in:
Michaël Lemaire 2018-06-13 00:48:31 +02:00
parent 4713c8d09a
commit 59d3c87323
1 changed files with 2 additions and 2 deletions

View File

@ -285,7 +285,7 @@ module TK.SpaceTac.UI {
return {
foreground: async (speed: number) => {
if (speed) {
this.view.gameui.audio.playOnce("battle-drone-deploy");
this.view.audio.playOnce("battle-drone-deploy");
}
await this.addDrone(diff.drone, speed);
}
@ -303,7 +303,7 @@ module TK.SpaceTac.UI {
return {
foreground: async (speed: number) => {
if (speed) {
this.view.gameui.audio.playOnce("battle-drone-destroy");
this.view.audio.playOnce("battle-drone-destroy");
}
await this.removeDrone(diff.drone, speed);
}