play opponent berserk sound
This commit is contained in:
parent
56f7cc30ba
commit
a9b96f4af4
|
@ -9,7 +9,7 @@ net {
|
|||
ip = "5.196.91.160"
|
||||
asset {
|
||||
domain = ${net.domain}
|
||||
version = 818
|
||||
version = 819
|
||||
}
|
||||
}
|
||||
play {
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue