mirror of
https://github.com/usysrc/LICK.git
synced 2024-11-24 16:44:21 +00:00
Uses lick.sleepTime
This commit is contained in:
parent
dbd468b1ee
commit
d49b8405e2
2
lick.lua
2
lick.lua
@ -126,7 +126,7 @@ 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
|
||||||
|
Loading…
Reference in New Issue
Block a user