mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-03-26 13:01:52 +00:00
Make skincolor_* CTF color variables writable.
This commit is contained in:
parent
cf3d6eb0af
commit
fbd20c9591
1 changed files with 8 additions and 0 deletions
|
|
@ -376,6 +376,14 @@ int LUA_CheckGlobals(lua_State *L, const char *word)
|
|||
redscore = (UINT32)luaL_checkinteger(L, 2);
|
||||
else if (fastcmp(word, "bluescore"))
|
||||
bluescore = (UINT32)luaL_checkinteger(L, 2);
|
||||
else if (fastcmp(word, "skincolor_redteam"))
|
||||
skincolor_redteam = (UINT16)luaL_checkinteger(L, 2);
|
||||
else if (fastcmp(word, "skincolor_blueteam"))
|
||||
skincolor_blueteam = (UINT16)luaL_checkinteger(L, 2);
|
||||
else if (fastcmp(word, "skincolor_redring"))
|
||||
skincolor_redring = (UINT16)luaL_checkinteger(L, 2);
|
||||
else if (fastcmp(word, "skincolor_bluering"))
|
||||
skincolor_bluering = (UINT16)luaL_checkinteger(L, 2);
|
||||
else if (fastcmp(word, "emeralds"))
|
||||
emeralds = (UINT16)luaL_checkinteger(L, 2);
|
||||
else if (fastcmp(word, "token"))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue