Skip to content

Commit

Permalink
Fix client sending the wrong team to the server in some cases (#2206)
Browse files Browse the repository at this point in the history
  • Loading branch information
HoeenCoder authored Jul 12, 2024
1 parent cbc023d commit e30e541
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions play.pokemonshowdown.com/js/client-teambuilder.js
Original file line number Diff line number Diff line change
Expand Up @@ -824,6 +824,7 @@
if (!selection || selection === 'random') continue;
var obj = app.rooms[room].id === "" ? app.rooms[room] : app.rooms[room].tournamentBox;
obj.curTeamIndex++;
obj.updateTeams();
}
this.edit(0);
},
Expand Down

0 comments on commit e30e541

Please sign in to comment.