aoe targetting fixed

This commit is contained in:
Mashy
2019-07-23 18:04:33 +10:00
parent ef11d14752
commit 4c68d11a28
7 changed files with 24 additions and 16 deletions
+1 -1
View File
@@ -106,7 +106,7 @@ class Break extends Component {
componentWillUnmount() {
for (let i = this.animations.length - 1; i >= 0; i--) {
this.animations[i].reset();
}
} this.props.animCb();
}
}
+6 -1
View File
@@ -98,7 +98,12 @@ class Ruin extends Component {
componentWillUnmount() {
for (let i = this.animations.length - 1; i >= 0; i--) {
this.animations[i].reset();
} this.props.animCb();
}
try {
this.props.animCb();
} catch (e) {
console.log(e);
}
}
}