mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Fix Lua interface mangling writes to sliptideZipBoost
This commit is contained in:
parent
2fb6bc5f46
commit
a7cc5aac78
1 changed files with 2 additions and 2 deletions
|
|
@ -313,7 +313,7 @@ static int player_get(lua_State *L)
|
|||
else if (fastcmp(field,"sliptideZipDelay"))
|
||||
lua_pushinteger(L, plr->sliptideZipDelay);
|
||||
else if (fastcmp(field,"sliptideZipBoost"))
|
||||
lua_pushinteger(L, plr->sliptideZipDelay);
|
||||
lua_pushinteger(L, plr->sliptideZipBoost);
|
||||
/*
|
||||
else if (fastcmp(field,"itemroulette"))
|
||||
lua_pushinteger(L, plr->itemroulette);
|
||||
|
|
@ -699,7 +699,7 @@ static int player_set(lua_State *L)
|
|||
else if (fastcmp(field,"sliptideZipDelay"))
|
||||
plr->sliptideZipDelay = luaL_checkinteger(L, 3);
|
||||
else if (fastcmp(field,"sliptideZipBoost"))
|
||||
plr->sliptideZipDelay = luaL_checkinteger(L, 3);
|
||||
plr->sliptideZipBoost = luaL_checkinteger(L, 3);
|
||||
/*
|
||||
else if (fastcmp(field,"itemroulette"))
|
||||
plr->itemroulette = luaL_checkinteger(L, 3);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue