Commit before restricting menu options
This commit is contained in:
+4
-1
@@ -76,7 +76,10 @@ updateUniverse u =
|
||||
|
||||
updateUseInput :: Universe -> Universe
|
||||
updateUseInput u = case u ^? uvScreenLayers . _head of
|
||||
Just InputScreen{} -> doInputScreenInput u
|
||||
Just (InputScreen thetext _) -> doInputScreenInput thetext u
|
||||
Just OptionScreen{} --{_scOptions = mos, _scDefaultEff = defeff} -> u
|
||||
-> u
|
||||
Just ColumnsScreen{} -> u & uvScreenLayers %~ tail
|
||||
_ -> M.foldlWithKey' updateKeyInGame u (u ^. uvWorld . input . pressedKeys)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user