sidebar is updated for dragIn

This commit is contained in:
kubetz 2015-06-06 03:54:49 +00:00
parent 4ca8b1121a
commit 001ea68fdd

View File

@ -1629,6 +1629,7 @@ var Side = (function () {
this.battle.statElem.append(this.getStatbarHTML(pokemon));
pokemon.statbarElem = this.battle.statElem.children().last();
this.updateStatbar(pokemon, true);
pokemon.side.updateSidebar();
if (this.battle.fastForward) {
if (oldpokemon) {
oldpokemon.statbarElem.remove();