Rename drawerlib deltaTime to getDeltaTime

This commit is contained in:
Eidolon 2022-04-30 01:57:46 -05:00
parent 82310e0ae2
commit a41d042812

View file

@ -1309,7 +1309,7 @@ static int libd_getusertransflag(lua_State *L)
}
// Return the time elapsed for the previous frame, in tics.
static int libd_deltaTime(lua_State *L)
static int libd_getDeltaTime(lua_State *L)
{
HUDONLY
lua_pushfixed(L, renderdeltatics);
@ -1357,7 +1357,7 @@ static luaL_Reg lib_draw[] = {
{"renderer", libd_renderer},
{"localTransFlag", libd_getlocaltransflag},
{"userTransFlag", libd_getusertransflag},
{"deltaTime", libd_deltaTime},
{"getDeltaTime", libd_getDeltaTime},
{NULL, NULL}
};