mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-02-06 08:22:01 +00:00
Make token
writable.
This commit is contained in:
parent
a502b09929
commit
113e6b6585
1 changed files with 2 additions and 0 deletions
|
@ -378,6 +378,8 @@ int LUA_CheckGlobals(lua_State *L, const char *word)
|
||||||
bluescore = (UINT32)luaL_checkinteger(L, 2);
|
bluescore = (UINT32)luaL_checkinteger(L, 2);
|
||||||
else if (fastcmp(word, "emeralds"))
|
else if (fastcmp(word, "emeralds"))
|
||||||
emeralds = (UINT16)luaL_checkinteger(L, 2);
|
emeralds = (UINT16)luaL_checkinteger(L, 2);
|
||||||
|
else if (fastcmp(word, "token"))
|
||||||
|
token = (UINT32)luaL_checkinteger(L, 2);
|
||||||
else
|
else
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue