Fix one bug in door wall movement, add airlock, cleanup

This commit is contained in:
2021-11-06 01:06:04 +00:00
parent 5a52b646e1
commit 4c6437da26
5 changed files with 64 additions and 14 deletions
-2
View File
@@ -73,10 +73,8 @@ doSideEffects w = do
let preData = _preloadData w
newPlayingSounds <- playSoundAndUpdate (_soundData preData) (_playingSounds w) (_toPlaySounds w)
w' <- _sideEffects w w
endTicks <- SDL.ticks
let lastFrameTicks = _frameTimer preData
when (_debug_seconds_frame $ _config w) $ void $ renderFoldable
(_pictureShaders $ _renderData preData)
(setDepth (-1)