Keep sound playing when switching sides during team preview

This commit is contained in:
urkerab
2015-10-26 14:42:21 +00:00
parent ba636c8c59
commit 6b02fdbaba

View File

@@ -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;