fix vbox info / highlight state when interacting with constructs (unequip)

This commit is contained in:
Mashy 2020-01-21 15:54:29 +10:00
parent adff7ebefa
commit 4324615083

View File

@ -60,6 +60,10 @@ const addState = connect(
}
function setItemUnequip(v) {
const info = v.length ? v[1] : null;
dispatch(actions.setVboxInfo(info));
dispatch(actions.setVboxCombiner(null));
dispatch(actions.setVboxHighlight(false));
dispatch(actions.setVboxSelected({ storeSelect: [], stashSelect: [] }));
return dispatch(actions.setItemUnequip(v));
}