Fix crash in weather animations

This commit is contained in:
Quinton Lee
2016-02-04 12:15:39 -06:00
parent 1e0bd37541
commit f558df4d2a

View File

@@ -2950,8 +2950,8 @@ var Battle = (function () {
return;
}
if (oldweather) {
var self = this;
if (weather) {
var self = this;
this.weatherElem.animate({
opacity: 0
}, 300, function () {