diff options
Diffstat (limited to 'app.lua')
-rw-r--r-- | app.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app.lua b/app.lua index 62ecd38..212f755 100644 --- a/app.lua +++ b/app.lua @@ -32,14 +32,14 @@ function love.run() end end - -- draw before update to give it a chance to mutate state + dt = love.timer.step() + App.update(dt) + love.graphics.origin() love.graphics.clear(love.graphics.getBackgroundColor()) App.draw() love.graphics.present() - dt = love.timer.step() - App.update(dt) love.timer.sleep(0.001) end end |