Cleanup, split CWorld into separate file
This commit is contained in:
+1
-1
@@ -97,7 +97,7 @@ updateRenderSplit u = do
|
||||
|
||||
playSoundUnlessRewinding :: Universe -> IO (M.Map SoundOrigin Sound)
|
||||
playSoundUnlessRewinding u
|
||||
| _timeFlow (_cWorld w) == RewindingNow = return M.empty
|
||||
| _timeFlow w == RewindingNow = return M.empty
|
||||
| otherwise = playSoundAndUpdate (_soundData $ _preloadData u) (_playingSounds w) (_toPlaySounds w)
|
||||
where
|
||||
w = _uvWorld u
|
||||
|
||||
Reference in New Issue
Block a user