mirror of
https://github.com/usysrc/LICK.git
synced 2024-11-16 09:34:22 +00:00
Uses lick.sleepTime
This commit is contained in:
parent
dbd468b1ee
commit
d49b8405e2
4
lick.lua
4
lick.lua
@ -126,9 +126,9 @@ function love.run()
|
|||||||
if draw then draw() end
|
if draw then draw() end
|
||||||
end
|
end
|
||||||
|
|
||||||
if love.timer then love.timer.sleep(0.001) end
|
if love.timer then love.timer.sleep(lick.sleepTime) end
|
||||||
if love.graphics then love.graphics.present() end
|
if love.graphics then love.graphics.present() end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
return lick
|
return lick
|
||||||
|
Loading…
Reference in New Issue
Block a user