mirror of
https://github.com/love2d/love.git
synced 2026-08-16 00:02:12 +02:00
love.timer.step now returns the calculated dt directly.
--HG-- branch : minor
This commit is contained in:
@@ -30,10 +30,10 @@ namespace timer
|
||||
|
||||
#define instance() (Module::getInstance<Timer>(Module::M_TIMER))
|
||||
|
||||
int w_step(lua_State *)
|
||||
int w_step(lua_State *L)
|
||||
{
|
||||
instance()->step();
|
||||
return 0;
|
||||
lua_pushnumber(L, instance()->step());
|
||||
return 1;
|
||||
}
|
||||
|
||||
int w_getDelta(lua_State *L)
|
||||
|
||||
Reference in New Issue
Block a user