diff --git a/js/storage.js b/js/storage.js index 7c8457b218..b77f04bff0 100644 --- a/js/storage.js +++ b/js/storage.js @@ -597,6 +597,7 @@ Storage.compareTeams = function (serverTeam, localTeam) { for (var j = 0; j < otherMons.length; j++) { if (toID(otherMons[j].species) === toID(mons[i])) { matches++; + break; } } }