Make hud non-saveable
This commit is contained in:
@@ -25,7 +25,7 @@ terminalReturnEffect tm w = guardDisconnected tm w $
|
||||
|
||||
defocusTerminalInput :: World -> World
|
||||
defocusTerminalInput w = fromMaybe w $ do
|
||||
tmid <- w ^? cWorld . lWorld . hud . hudElement . subInventory . termID
|
||||
tmid <- w ^? hud . hudElement . subInventory . termID
|
||||
return $ w & cWorld . lWorld . terminals . ix tmid . tmInput . tiFocus %~ const False
|
||||
|
||||
runTerminalString :: String -> Terminal -> World -> World
|
||||
|
||||
Reference in New Issue
Block a user