mirror of
https://github.com/love2d/love.git
synced 2026-08-14 01:20:56 +02:00
Make love.run's code style more consistent.
--HG-- branch : minor
This commit is contained in:
@@ -579,9 +579,7 @@ function love.run()
|
||||
end
|
||||
|
||||
-- Update dt, as we'll be passing it to update
|
||||
if love.timer then
|
||||
dt = love.timer.step()
|
||||
end
|
||||
if love.timer then dt = love.timer.step() end
|
||||
|
||||
-- Call update and draw
|
||||
if love.update then love.update(dt) end -- will pass 0 if love.timer is disabled
|
||||
|
||||
Reference in New Issue
Block a user