fix unexpected eventlessness

resourcetify
nek0 3 months ago
parent 2696dedbb4
commit 9b7b1c6167
  1. 1
      src/Affection.hs

@ -120,6 +120,7 @@ withAffection AffectionConfig{..} = do
, deltaTime = dt
}
-- poll events
liftIO SDL.pumpEvents
evs <- preHandleEvents =<< liftIO SDL.pollEvents
-- handle events
handleEvents gameData evs

Loading…
Cancel
Save