Skip to content

Commit

Permalink
Tera Preview Import
Browse files Browse the repository at this point in the history
Imports format data successfully now
  • Loading branch information
Nonexistent-0 committed Aug 8, 2024
1 parent afac21d commit 817de7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion play.pokemonshowdown.com/js/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -1355,6 +1355,7 @@ function toId() {
if (code & 16) teambuilderLevel = 50;
if (code & 32) partner = true;
if (code & 64) bestOfDefault = true;
if (code & 128) teraPreviewDefault = true;
} else {
// Backwards compatibility: late 0.9.0 -> 0.10.0
if (name.substr(name.length - 2) === ',#') { // preset teams
Expand Down Expand Up @@ -1427,7 +1428,6 @@ function toId() {
isTeambuilderFormat: isTeambuilderFormat,
effectType: 'Format'
};
console.log(teraPreviewDefault ? true : false);
}
}

Expand Down

0 comments on commit 817de7d

Please sign in to comment.