Merge branch 'develop' of ssh://mnml.gg:40022/~/mnml into develop

This commit is contained in:
ntr
2019-08-09 15:40:15 +10:00
6 changed files with 12 additions and 13 deletions
+1 -1
View File
@@ -40,7 +40,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
+5 -4
View File
@@ -9,14 +9,15 @@ function registerEvents(store) {
store.dispatch(actions.setPing(ping));
}
function setTeam(team) {
store.dispatch(actions.setTeam(team));
}
function setNav(v) {
store.dispatch(actions.setNav(v));
}
function setTeam(team) {
store.dispatch(actions.setTeam(team));
setNav('list');
}
function setConstructList(constructs) {
store.dispatch(actions.setConstructs(constructs));
}