mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-02-01 06:00:45 +00:00
Call the Lua timestamp function getTimeMicros
This commit is contained in:
parent
270c7701b4
commit
56c5a887c8
1 changed files with 2 additions and 2 deletions
|
@ -3877,7 +3877,7 @@ static int lib_gTicsToMilliseconds(lua_State *L)
|
|||
return 1;
|
||||
}
|
||||
|
||||
static int lib_iGetTimestamp(lua_State *L)
|
||||
static int lib_getTimeMicros(lua_State *L)
|
||||
{
|
||||
lua_pushinteger(L, I_PreciseToMicros(I_GetPreciseTime()));
|
||||
return 1;
|
||||
|
@ -4157,7 +4157,7 @@ static luaL_Reg lib[] = {
|
|||
{"G_TicsToCentiseconds",lib_gTicsToCentiseconds},
|
||||
{"G_TicsToMilliseconds",lib_gTicsToMilliseconds},
|
||||
|
||||
{"I_GetTimestamp",lib_iGetTimestamp},
|
||||
{"getTimeMicros",lib_getTimeMicros},
|
||||
|
||||
{NULL, NULL}
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue