Implement filter on nearby objects
This commit is contained in:
@@ -147,6 +147,7 @@ updateUseInput u = case u ^? uvScreenLayers . _head of
|
||||
Just (CombineInventory sm)
|
||||
| inregex sm -> doSubInvRegexInput u
|
||||
_ | inInvRegex (u ^. uvWorld) -> doInvRegexInput u
|
||||
_ | inCloseRegex (u ^. uvWorld) -> doCloseRegexInput u
|
||||
_ -> M.foldlWithKey' updateKeyInGame u pkeys
|
||||
where
|
||||
inregex sm = fromMaybe False $ do
|
||||
|
||||
Reference in New Issue
Block a user