mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-10-01 23:32:02 -05:00
Fix battle.fastForwardTo(0)
This is currently just treated as a reset. The important thing is, it doesn't behave erratically as it did previously.
This commit is contained in:
@@ -6024,9 +6024,11 @@ var Battle = (function () {
|
||||
this.activityQueueActive = true;
|
||||
if (paused) this.pause();
|
||||
else this.paused = false;
|
||||
this.fastForward = time;
|
||||
this.elem.append('<div class="seeking"><strong>seeking...</strong></div>');
|
||||
$.fx.off = true;
|
||||
if (time) {
|
||||
this.fastForward = time;
|
||||
this.elem.append('<div class="seeking"><strong>seeking...</strong></div>');
|
||||
$.fx.off = true;
|
||||
}
|
||||
this.elem.find(':animated').finish();
|
||||
this.swapQueues();
|
||||
this.nextActivity();
|
||||
|
||||
Reference in New Issue
Block a user