Fix switch bug
This commit is contained in:
@@ -86,7 +86,7 @@ spaceAction w = if _carteDisplay w
|
|||||||
_ -> w & inventoryMode .~ TopInventory
|
_ -> w & inventoryMode .~ TopInventory
|
||||||
where
|
where
|
||||||
theLoc = fst (_seenLocations w IM.! _selLocation w) w
|
theLoc = fst (_seenLocations w IM.! _selLocation w) w
|
||||||
updateTopCloseObject i = closeActiveObjects %~ ( Right (_buttons w IM.! i) : ) . tail
|
updateTopCloseObject i w' = w' & closeActiveObjects %~ ( Right (_buttons w' IM.! i) : ) . tail
|
||||||
|
|
||||||
pauseGame :: World -> World
|
pauseGame :: World -> World
|
||||||
pauseGame w = w {_menuLayers = [PauseMenu]}
|
pauseGame w = w {_menuLayers = [PauseMenu]}
|
||||||
|
|||||||
Reference in New Issue
Block a user