mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-03 22:52:50 +00:00
Call the Lua timestamp function getTimeMicros
# Conflicts: # src/lua_baselib.c
This commit is contained in:
parent
9577dc26b9
commit
c2f427d858
1 changed files with 2 additions and 2 deletions
|
|
@ -3842,7 +3842,7 @@ static int lib_kDeclareWeakspot(lua_State *L)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int lib_iGetTimestamp(lua_State *L)
|
static int lib_getTimeMicros(lua_State *L)
|
||||||
{
|
{
|
||||||
lua_pushinteger(L, I_PreciseToMicros(I_GetPreciseTime()));
|
lua_pushinteger(L, I_PreciseToMicros(I_GetPreciseTime()));
|
||||||
return 1;
|
return 1;
|
||||||
|
|
@ -4081,7 +4081,7 @@ static luaL_Reg lib[] = {
|
||||||
{"G_TicsToSeconds",lib_gTicsToSeconds},
|
{"G_TicsToSeconds",lib_gTicsToSeconds},
|
||||||
{"G_TicsToCentiseconds",lib_gTicsToCentiseconds},
|
{"G_TicsToCentiseconds",lib_gTicsToCentiseconds},
|
||||||
{"G_TicsToMilliseconds",lib_gTicsToMilliseconds},
|
{"G_TicsToMilliseconds",lib_gTicsToMilliseconds},
|
||||||
{"I_GetTimestamp",lib_iGetTimestamp},
|
{"getTimeMicros",lib_getTimeMicros},
|
||||||
|
|
||||||
// k_kart
|
// k_kart
|
||||||
{"K_PlayAttackTaunt", lib_kAttackSound},
|
{"K_PlayAttackTaunt", lib_kAttackSound},
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue