- Use dt in JS.retrieveData

This commit is contained in:
ParticleG
2024-10-31 12:12:18 +08:00
parent 7ae19b6431
commit 8a663e29a6

View File

@@ -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