- Use dt in JS.retrieveData
This commit is contained in:
@@ -735,16 +735,16 @@ function love.run()
|
||||
end
|
||||
|
||||
return function()
|
||||
if JS and JS.retrieveData(1) then
|
||||
return
|
||||
end
|
||||
|
||||
local _
|
||||
|
||||
local time=timer()
|
||||
local dt=time-lastFrame
|
||||
lastFrame=time
|
||||
|
||||
if JS and JS.retrieveData(dt) then
|
||||
return
|
||||
end
|
||||
|
||||
-- EVENT
|
||||
PUMP()
|
||||
for N,a,b,c,d,e in POLL() do
|
||||
|
||||
Reference in New Issue
Block a user