Update default format to Gen 7 randbat

This commit is contained in:
Guangcong Luo
2016-12-01 01:46:15 -05:00
parent 341a8a07bf
commit c951a28f4e

View File

@@ -771,8 +771,8 @@
if (!noChoice) {
this.curFormat = formatid;
if (!this.curFormat) {
if (BattleFormats['randombattle']) {
this.curFormat = 'randombattle';
if (BattleFormats['gen7randombattle']) {
this.curFormat = 'gen7randombattle';
} else for (var i in BattleFormats) {
if (!BattleFormats[i].searchShow || !BattleFormats[i].challengeShow) continue;
this.curFormat = i;