From 4c5eca0e30cced953adc57c6d38dc531f413b2f4 Mon Sep 17 00:00:00 2001 From: ntr Date: Sat, 13 Jul 2019 21:58:40 +1000 Subject: [PATCH] make sure to set team in storage --- 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 c28acca4..e1d771d8 100644 --- a/client/src/events.jsx +++ b/client/src/events.jsx @@ -37,7 +37,7 @@ function registerEvents(store) { // team is fucked up, or just registered // reset to the first 3 constructs if (!team.every(t => t && ids.includes(t))) { - store.dispatch(actions.setTeam([ids[0], ids[1], ids[2]])); + setTeam([ids[0], ids[1], ids[2]]); } store.dispatch(actions.setConstructs(constructs));