mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-09-14 06:49:56 -05:00
Replays: Fix controls when skipping to first turn (#2562)
This commit is contained in:
@@ -241,6 +241,7 @@ export class BattlePanel extends preact.Component<{ id: string }> {
|
||||
};
|
||||
firstTurn = () => {
|
||||
this.battle?.seekTurn(0);
|
||||
this.forceUpdate();
|
||||
};
|
||||
lastTurn = () => {
|
||||
this.battle?.seekTurn(Infinity);
|
||||
|
||||
Reference in New Issue
Block a user