Fix combinations filter
This commit is contained in:
@@ -37,7 +37,7 @@ regexScope w = case w ^? hud . hudElement . subInventory of
|
||||
Just (3, _) -> di 2
|
||||
_ -> Nothing
|
||||
Just CombineInventory{} ->
|
||||
Just (subInventory . ciSections . sssExtra, (-1))
|
||||
Just (subInventory . ciSections . sssExtra, -1)
|
||||
_ -> Nothing
|
||||
where
|
||||
di x = Just (diSections . sssExtra, x)
|
||||
@@ -54,7 +54,7 @@ regexFocus w = case w ^? hud . hudElement . subInventory of
|
||||
Just (2, _) -> di 2
|
||||
_ -> Nothing
|
||||
Just CombineInventory{} ->
|
||||
Just (subInventory . ciSections . sssExtra, (-1))
|
||||
Just (subInventory . ciSections . sssExtra, -1)
|
||||
_ -> Nothing
|
||||
where
|
||||
di x = Just (diSections . sssExtra, x)
|
||||
|
||||
Reference in New Issue
Block a user