Teambuilder: Update VGC

This commit is contained in:
The Immortal
2015-12-10 03:56:29 +04:00
parent c93847fdbe
commit bae1b84fb0

View File

@@ -1105,7 +1105,7 @@
// cache movelist ref
var speciesid = toId(this.curSet.species);
var g6 = (this.curTeam.format && (this.curTeam.format === 'vgc2014' || this.curTeam.format === 'vgc2015'));
var g6 = (this.curTeam.format && this.curTeam.format === 'vgc2016');
this.applyMovelist(g6, speciesid);
this.$chart.html('<em>Loading ' + this.curChartType + '...</em>');
@@ -1121,7 +1121,7 @@
updateChartDelayed: function () {
// cache movelist ref
var speciesid = toId(this.curSet.species);
var g6 = (this.curTeam.format && (this.curTeam.format === 'vgc2014' || this.curTeam.format === 'vgc2015'));
var g6 = (this.curTeam.format && this.curTeam.format === 'vgc2016');
this.applyMovelist(g6, speciesid);
var self = this;