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));