From f42d7f25906aa9404e20c4e73eee44e37d8620c1 Mon Sep 17 00:00:00 2001 From: Guangcong Luo Date: Sun, 14 Jul 2019 06:57:19 -0400 Subject: [PATCH] Remove battle mute stat tracker We already got the data we wanted from it. --- js/client-battle.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/js/client-battle.js b/js/client-battle.js index 5eebe2034..e2c629a15 100644 --- a/js/client-battle.js +++ b/js/client-battle.js @@ -47,9 +47,6 @@ this.battle.startCallback = function () { self.updateControls(); }; this.battle.stagnateCallback = function () { self.updateControls(); }; - var hasSound = (BattleSound.muted || (!BattleSound.bgmVolume && !BattleSound.effectVolume)) ? 0 : 1; - if (window.ga) ga('send', 'event', 'Battle', 'join', 'sounds', hasSound); - this.battle.play(); }, events: {