From 6b02fdbaba5ed4a62f856b1acc1c41cd9e5f970f Mon Sep 17 00:00:00 2001 From: urkerab Date: Mon, 26 Oct 2015 14:42:21 +0000 Subject: [PATCH] Keep sound playing when switching sides during team preview --- js/battle.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/battle.js b/js/battle.js index b54e5bd8b..f332a2736 100644 --- a/js/battle.js +++ b/js/battle.js @@ -5949,7 +5949,7 @@ var Battle = (function () { this.playbackState = 5; } else if (this.paused) { this.paused = false; - if (this.playbackState === 1) { + if (!dontResetSound && this.playbackState === 1) { this.soundStop(); } this.playbackState = 2;