clear vbox state variables on game leave

This commit is contained in:
Mashy 2019-11-24 12:42:27 +10:00
parent aa2f34c64b
commit 6ce43884c9

View File

@ -26,6 +26,9 @@ const addState = connect(
dispatch(actions.setNav('play')); dispatch(actions.setNav('play'));
dispatch(actions.setGame(null)); dispatch(actions.setGame(null));
dispatch(actions.setInstance(null)); dispatch(actions.setInstance(null));
dispatch(actions.setVboxSelected({ storeSelect: [], stashSelect: [] }));
dispatch(actions.setInfo(null));
dispatch(actions.setItemUnequip([]));
if (tutorial) dispatch(actions.setTutorial(1)); if (tutorial) dispatch(actions.setTutorial(1));
} }