Merge branch 'develop' of ssh://mnml.gg:40022/~/mnml into develop
This commit is contained in:
commit
4c6ee01b5d
@ -78,9 +78,10 @@ function registerEvents(store) {
|
|||||||
store.dispatch(actions.setAnimSource(null));
|
store.dispatch(actions.setAnimSource(null));
|
||||||
store.dispatch(actions.setAnimTarget(null));
|
store.dispatch(actions.setAnimTarget(null));
|
||||||
store.dispatch(actions.setAnimText(null));
|
store.dispatch(actions.setAnimText(null));
|
||||||
|
store.dispatch(actions.setAnimFocus([]));
|
||||||
// We currently need another small timeout so that everything can properly dismount / unload
|
// We currently need another small timeout so that everything can properly dismount / unload
|
||||||
// Otherwise 3 x Attack on same target will only render the first time
|
// Otherwise 3 x Attack on same target will only render the first time
|
||||||
return setTimeout(cb, 75);
|
return setTimeout(cb, 200);
|
||||||
}, timeout);
|
}, timeout);
|
||||||
}, err => {
|
}, err => {
|
||||||
if (err) return console.error(err);
|
if (err) return console.error(err);
|
||||||
|
|||||||
@ -145,9 +145,9 @@ impl Player {
|
|||||||
if free_colours < 2 {
|
if free_colours < 2 {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
self.bot_vbox_accept(0).expect("could't accept colour 0");
|
self.bot_vbox_accept(0).expect("could't accept colour item");
|
||||||
self.bot_vbox_accept(0).expect("could't accept colour 1");
|
self.bot_vbox_accept(0).expect("could't accept colour item");
|
||||||
self.bot_vbox_accept(group_i).expect("could't accept group 0");
|
self.bot_vbox_accept(group_i).expect("could't accept group item");
|
||||||
}
|
}
|
||||||
|
|
||||||
// info!("{:?}", self.vbox.bound);
|
// info!("{:?}", self.vbox.bound);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user