Implement telescoping inventory selection
This commit is contained in:
+2
-3
@@ -82,9 +82,8 @@ updateUniverse u =
|
||||
cfig = u ^. uvConfig
|
||||
|
||||
updateInventoryDisplay :: Universe -> Universe
|
||||
updateInventoryDisplay u = u & uvWorld . hud . hudElement . diSections %~ const di
|
||||
where
|
||||
di = makeDisplayInventory (_uvWorld u) (_uvConfig u)
|
||||
updateInventoryDisplay u = u & uvWorld . hud . hudElement . diSections
|
||||
%~ updateDisplayInventory (_uvWorld u) (_uvConfig u)
|
||||
|
||||
maybeOpenTerminal :: Universe -> Universe
|
||||
maybeOpenTerminal u = case u ^. uvWorld . input . pressedKeys . at ScancodeSemicolon of
|
||||
|
||||
Reference in New Issue
Block a user