From a41d0428128f481a10b0193253ead4df8fa0ab89 Mon Sep 17 00:00:00 2001 From: Eidolon Date: Sat, 30 Apr 2022 01:57:46 -0500 Subject: [PATCH] Rename drawerlib deltaTime to getDeltaTime --- src/lua_hudlib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lua_hudlib.c b/src/lua_hudlib.c index d049bcfe2..0a4d0dcde 100644 --- a/src/lua_hudlib.c +++ b/src/lua_hudlib.c @@ -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} };