Cleanup
This commit is contained in:
@@ -22,7 +22,7 @@ saveConfig :: Configuration -> (a -> IO a) -> a -> IO a
|
||||
saveConfig cfig f x = do
|
||||
putStrLn "Saving config to data/dodge.config.json"
|
||||
BS.writeFile "data/dodge.config.json"
|
||||
$ AEP.encodePretty' (AEP.Config (AEP.Spaces 2) compare (AEP.Generic) (False)) cfig
|
||||
$ AEP.encodePretty' (AEP.Config (AEP.Spaces 2) compare AEP.Generic False) cfig
|
||||
f x
|
||||
{- |
|
||||
Apply the volume settings from the world configuration to the running game.
|
||||
|
||||
Reference in New Issue
Block a user