1
0
Fork 0
mirror of https://github.com/Reuh/ubiquitousse.git synced 2025-10-27 17:19:31 +00:00

Dt in seconds, minor fixes

This commit is contained in:
Étienne Fildadut 2021-02-18 17:14:29 +01:00
parent fdd69fd7f8
commit 394c658d8b
3 changed files with 4 additions and 2 deletions

View file

@ -17,11 +17,11 @@ function signal.registerEvents()
local old = love[callback]
love[callback] = function(dt)
old(dt)
event:emit(callback, dt*1000)
event:emit(callback, dt)
end
else
love[callback] = function(dt)
event:emit(callback, dt*1000)
event:emit(callback, dt)
end
end
else