Work on preserving selections when picking up multiple items

This commit is contained in:
2026-05-17 14:25:35 +01:00
parent 580619280a
commit 70479b6e79
4 changed files with 267 additions and 262 deletions
+2 -4
View File
@@ -194,10 +194,8 @@ updateUniverseMid u = case _uvScreenLayers u of
-- . (uvWorld . cWorld . highlightItems . filteredBy . non 0 -~ 1)
. timeFlowUpdate
. updateUseInputInGame
$ over
uvWorld
(updateMouseInGame (u ^. uvConfig) . updateCamera (u ^. uvConfig))
u
. updateMouseInGame
$ over uvWorld (updateCamera (u ^. uvConfig)) u
where
minusone x
| x > 0 = Just $ x - 1