mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-10-01 07:10:46 -05:00
Keep sound playing when switching sides during team preview
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user