mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-05-09 04:23:01 -05:00
Fix freeze in 'Skip to Last Turn' button
The 'Skip to Last Turn' button would freeze when used on the last turn of a battle.
This commit is contained in:
parent
db2c6c5713
commit
bcc565dcdd
|
|
@ -619,7 +619,7 @@
|
|||
this.battle.skipTurn();
|
||||
},
|
||||
goToEnd: function() {
|
||||
while (this.battle.activityQueueActive) this.battle.skipTurn();
|
||||
this.battle.fastForwardTo(-1);
|
||||
},
|
||||
register: function(userid) {
|
||||
var registered = app.user.get('registered');
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user