Merge branch 'mm' into develop

This commit is contained in:
Mashy
2019-07-30 18:48:55 +10:00
4 changed files with 7 additions and 6 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ function Skill(props) {
const s = construct.skills[i];
const ko = construct.green_life.value === 0 ? 'ko' : '';
if (!s) {
if (!s || !game) {
return (
<button
disabled='true'
@@ -26,6 +26,7 @@ class TargetSvg extends Component {
render(props, state) {
const { game, account, animating, animTarget } = props;
const { width, height } = state;
if (!game) return false; // game will be null when battle ends
// resolutions happening
// just put skill name up