Dump some info to sdout when generating level
This commit is contained in:
+3
-1
@@ -56,8 +56,10 @@ firstWorldLoad theConfig = do
|
||||
SDL.cursorVisible $= False
|
||||
theKeyConfig <- loadKeyConfig
|
||||
pdata <- doPreload >>= applyWorldConfig theConfig
|
||||
w <- fmap ((keyConfig .~ theKeyConfig) . (config .~ theConfig)) firstWorld
|
||||
w <- firstWorld
|
||||
return $ w & preloadData .~ pdata
|
||||
& keyConfig .~ theKeyConfig
|
||||
& config .~ theConfig
|
||||
|
||||
theUpdateStep :: World -> IO World
|
||||
theUpdateStep = doSideEffects <=< updateRenderSplit
|
||||
|
||||
Reference in New Issue
Block a user