mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-02-15 10:06:24 +00:00
Hardcoding: let Lua write to tulip fields, oops
This commit is contained in:
parent
4c780d8867
commit
d0f01a35ca
1 changed files with 8 additions and 0 deletions
|
|
@ -1059,6 +1059,14 @@ static int player_set(lua_State *L)
|
|||
else if (fastcmp(field,"cloudbuf"))
|
||||
plr->cloudbuf = luaL_checkinteger(L, 3);
|
||||
|
||||
// tulips
|
||||
else if (fastcmp(field,"tulip"))
|
||||
plr->tulip = luaL_checkinteger(L, 3);
|
||||
else if (fastcmp(field,"tuliplaunch"))
|
||||
plr->tuliplaunch = luaL_checkinteger(L, 3);
|
||||
else if (fastcmp(field,"tulipbuf"))
|
||||
plr->tulipbuf = luaL_checkinteger(L, 3);
|
||||
|
||||
//
|
||||
else if (fastcmp(field,"charflags"))
|
||||
plr->charflags = (UINT32)luaL_checkinteger(L, 3);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue