From 168639bbbe295275871f4d9c69159b982b3dce8e Mon Sep 17 00:00:00 2001 From: Mashy Date: Wed, 11 Dec 2019 18:14:16 +1000 Subject: [PATCH] client fix --- client/src/events.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/events.jsx b/client/src/events.jsx index 653db33b..94b7c96b 100644 --- a/client/src/events.jsx +++ b/client/src/events.jsx @@ -86,7 +86,7 @@ function registerEvents(store) { store.dispatch(actions.setAnimating(true)); store.dispatch(actions.setGameSkillInfo(null)); // stop fetching the game state til animations are done - const newRes = game.resolutions[game.resolutions.length - 2]; + const newRes = game.resolutions[game.resolutions.length - 1]; console.log(newRes); return eachSeries(newRes, (r, cb) => { if (r.delay === 0) return cb(); // TargetKo etc