mirror of
https://github.com/usysrc/LICK.git
synced 2024-11-16 09:34:22 +00:00
made compatible with Löve 0.8.0
This commit is contained in:
parent
c01b254c16
commit
1f917a13f9
@ -9,6 +9,7 @@ lick.file = "main.lua"
|
||||
lick.debug = false
|
||||
lick.reset = false
|
||||
lick.clearFlag = false
|
||||
lick.sleepTime = (love.canvas) and (0.001) or 1
|
||||
|
||||
function handle(err)
|
||||
return "ERROR: " .. err
|
||||
@ -118,7 +119,7 @@ function love.run()
|
||||
end
|
||||
end
|
||||
|
||||
if love.timer then love.timer.sleep(1) end
|
||||
if love.timer then love.timer.sleep(lick.sleepTime) end
|
||||
if love.graphics then love.graphics.present() end
|
||||
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user