Make love.run's code style more consistent.

--HG--
branch : minor
This commit is contained in:
Alex Szpakowski
2017-10-21 03:12:37 -03:00
parent e5b0d96b27
commit d882c6811b
2 changed files with 3 additions and 7 deletions
+1 -3
View File
@@ -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