Refactor floor items, removing ids (not fully checked)
This commit is contained in:
@@ -17,7 +17,7 @@ getSelectedCloseObj w = do
|
||||
case i of
|
||||
3 -> do
|
||||
NInt k <- w ^? hud . closeItems . ix j
|
||||
fmap Left $ w ^? cWorld . lWorld . floorItems . unNIntMap . ix k
|
||||
fmap Left $ w ^? cWorld . lWorld . floorItems . ix k
|
||||
5 -> do
|
||||
k <- w ^? hud . closeButtons . ix j
|
||||
fmap Right $ w ^? cWorld . lWorld . buttons . ix k
|
||||
|
||||
Reference in New Issue
Block a user