play opponent berserk sound

pull/1511/merge
Thibault Duplessis 2016-01-24 21:30:51 +07:00
parent 56f7cc30ba
commit a9b96f4af4
2 changed files with 2 additions and 1 deletions

View File

@ -9,7 +9,7 @@ net {
ip = "5.196.91.160"
asset {
domain = ${net.domain}
version = 818
version = 819
}
}
play {

View File

@ -354,6 +354,7 @@ module.exports = function(opts) {
this.setBerserk = function(color) {
if (this.vm.goneBerserk[color]) return;
this.vm.goneBerserk[color] = true;
if (color !== this.data.player.color) $.sound.berserk();
m.redraw();
}.bind(this);