Tweak combine inventory regex
This commit is contained in:
+2
-1
@@ -143,7 +143,8 @@ updateUseInput u = case u ^? uvScreenLayers . _head of
|
||||
optionScreenUpdate screen mop flag ldps sellist u
|
||||
_ -> case u ^? uvWorld . hud . hudElement . subInventory of
|
||||
Just (DisplayTerminal tmid) | inTermFocus (_uvWorld u) -> updateKeysInTerminal tmid u
|
||||
Just (CombineInventory SelectionIntMap {_smRegexInput=True}) -> doSubInvRegexInput u
|
||||
Just (CombineInventory SelectionIntMap {_smRegex=smr})
|
||||
| smr ^? smrInput == Just True -> doSubInvRegexInput u
|
||||
_ -> M.foldlWithKey' updateKeyInGame u pkeys
|
||||
where
|
||||
pkeys = u ^. uvWorld . input . pressedKeys
|
||||
|
||||
Reference in New Issue
Block a user