make sure to set team in storage
This commit is contained in:
parent
8628cb0b0c
commit
4c5eca0e30
@ -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));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user