love.timer.step now returns the calculated dt directly.

--HG--
branch : minor
This commit is contained in:
Alex Szpakowski
2017-07-23 19:56:48 -03:00
parent ef5897b22c
commit 2eb9b3bdcd
5 changed files with 10 additions and 11 deletions
+3 -3
View File
@@ -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)