unfocus all constructs between resolutions

This commit is contained in:
Mashy
2019-07-23 12:01:58 +10:00
parent dd98016e2a
commit 314b34be19
2 changed files with 5 additions and 4 deletions
+2 -1
View File
@@ -78,9 +78,10 @@ function registerEvents(store) {
store.dispatch(actions.setAnimSource(null));
store.dispatch(actions.setAnimTarget(null));
store.dispatch(actions.setAnimText(null));
store.dispatch(actions.setAnimFocus([]));
// 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
return setTimeout(cb, 75);
return setTimeout(cb, 200);
}, timeout);
}, err => {
if (err) return console.error(err);