diff --git a/src/swarm-tui/Swarm/TUI/Model/StateUpdate.hs b/src/swarm-tui/Swarm/TUI/Model/StateUpdate.hs index f9cc3a228..a22033d23 100644 --- a/src/swarm-tui/Swarm/TUI/Model/StateUpdate.hs +++ b/src/swarm-tui/Swarm/TUI/Model/StateUpdate.hs @@ -277,6 +277,7 @@ scenarioToUIState isAutoplaying siPair@(scenario, _) gs u = do & uiGameplay . uiGoal .~ emptyGoalDisplay & uiGameplay . uiHideGoals .~ (isAutoplaying && not (u ^. uiCheatMode)) & uiGameplay . uiFocusRing .~ initFocusRing + & uiGameplay . uiInventory . uiInventorySearch .~ Nothing & uiGameplay . uiInventory . uiInventoryList .~ Nothing & uiGameplay . uiInventory . uiInventorySort .~ defaultSortOptions & uiGameplay . uiInventory . uiShowZero .~ True