From d882c6811b76bc11c229b5722ee71a7b74be6981 Mon Sep 17 00:00:00 2001 From: Alex Szpakowski Date: Sat, 21 Oct 2017 03:12:37 -0300 Subject: [PATCH] Make love.run's code style more consistent. --HG-- branch : minor --- src/scripts/boot.lua | 4 +--- src/scripts/boot.lua.h | 6 ++---- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/src/scripts/boot.lua b/src/scripts/boot.lua index e1e171300..9ca5bbc74 100644 --- a/src/scripts/boot.lua +++ b/src/scripts/boot.lua @@ -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 diff --git a/src/scripts/boot.lua.h b/src/scripts/boot.lua.h index d2399bd61..b6f2d8f1d 100644 --- a/src/scripts/boot.lua.h +++ b/src/scripts/boot.lua.h @@ -1070,10 +1070,8 @@ const unsigned char boot_lua[] = 0x20, 0x77, 0x65, 0x27, 0x6c, 0x6c, 0x20, 0x62, 0x65, 0x20, 0x70, 0x61, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x20, 0x69, 0x74, 0x20, 0x74, 0x6f, 0x20, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x0a, 0x09, 0x09, 0x69, 0x66, 0x20, 0x6c, 0x6f, 0x76, 0x65, 0x2e, 0x74, 0x69, 0x6d, 0x65, 0x72, 0x20, 0x74, 0x68, - 0x65, 0x6e, 0x0a, - 0x09, 0x09, 0x09, 0x64, 0x74, 0x20, 0x3d, 0x20, 0x6c, 0x6f, 0x76, 0x65, 0x2e, 0x74, 0x69, 0x6d, 0x65, 0x72, - 0x2e, 0x73, 0x74, 0x65, 0x70, 0x28, 0x29, 0x0a, - 0x09, 0x09, 0x65, 0x6e, 0x64, 0x0a, + 0x65, 0x6e, 0x20, 0x64, 0x74, 0x20, 0x3d, 0x20, 0x6c, 0x6f, 0x76, 0x65, 0x2e, 0x74, 0x69, 0x6d, 0x65, 0x72, + 0x2e, 0x73, 0x74, 0x65, 0x70, 0x28, 0x29, 0x20, 0x65, 0x6e, 0x64, 0x0a, 0x09, 0x09, 0x2d, 0x2d, 0x20, 0x43, 0x61, 0x6c, 0x6c, 0x20, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x20, 0x61, 0x6e, 0x64, 0x20, 0x64, 0x72, 0x61, 0x77, 0x0a, 0x09, 0x09, 0x69, 0x66, 0x20, 0x6c, 0x6f, 0x76, 0x65, 0x2e, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x20, 0x74,