mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 12:31:54 +00:00
Make emeralds writable.
This commit is contained in:
parent
99a0a9a9eb
commit
7bf8a4d056
1 changed files with 2 additions and 0 deletions
|
|
@ -376,6 +376,8 @@ int LUA_CheckGlobals(lua_State *L, const char *word)
|
||||||
redscore = (UINT32)luaL_checkinteger(L, 2);
|
redscore = (UINT32)luaL_checkinteger(L, 2);
|
||||||
else if (fastcmp(word, "bluescore"))
|
else if (fastcmp(word, "bluescore"))
|
||||||
bluescore = (UINT32)luaL_checkinteger(L, 2);
|
bluescore = (UINT32)luaL_checkinteger(L, 2);
|
||||||
|
else if (fastcmp(word, "emeralds"))
|
||||||
|
emeralds = (UINT16)luaL_checkinteger(L, 2);
|
||||||
else
|
else
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue