From a9b96f4af448d7f041e4a55ae4fe5abcc399873e Mon Sep 17 00:00:00 2001 From: Thibault Duplessis Date: Sun, 24 Jan 2016 21:30:51 +0700 Subject: [PATCH] play opponent berserk sound --- conf/base.conf | 2 +- ui/round/src/ctrl.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/conf/base.conf b/conf/base.conf index 9758eb327b..ec660c228b 100644 --- a/conf/base.conf +++ b/conf/base.conf @@ -9,7 +9,7 @@ net { ip = "5.196.91.160" asset { domain = ${net.domain} - version = 818 + version = 819 } } play { diff --git a/ui/round/src/ctrl.js b/ui/round/src/ctrl.js index 747580fe67..6ffd0e37e2 100644 --- a/ui/round/src/ctrl.js +++ b/ui/round/src/ctrl.js @@ -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);