mirror of
https://github.com/SashLilac/cambridge.git
synced 2024-11-21 21:59:01 -06:00
Update main.lua
This commit is contained in:
parent
80de771d2a
commit
df19129228
1
main.lua
1
main.lua
@ -298,6 +298,7 @@ end
|
|||||||
local TARGET_FPS = 60
|
local TARGET_FPS = 60
|
||||||
local FRAME_DURATION = 1.0 / TARGET_FPS
|
local FRAME_DURATION = 1.0 / TARGET_FPS
|
||||||
|
|
||||||
|
-- custom run function; optimizes game by syncing draw/update calls
|
||||||
function love.run()
|
function love.run()
|
||||||
if love.load then love.load(love.arg.parseGameArguments(arg), arg) end
|
if love.load then love.load(love.arg.parseGameArguments(arg), arg) end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user