mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-08-27 21:48:31 -05:00
Update default format to Gen 7 randbat
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user