mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-18 23:42:11 +00:00
Fix rare Lua bug when updating a SPR_ constant
This commit is contained in:
parent
9ca5ce01f1
commit
8073b8b3f0
1 changed files with 1 additions and 1 deletions
|
@ -740,7 +740,7 @@ void LUA_UpdateSprName(const char *name, lua_Integer value)
|
|||
|
||||
if (!lua_isnil(gL, -1))
|
||||
{
|
||||
lua_pushstring(gL, name);
|
||||
lua_pushstring(gL, fullname);
|
||||
lua_pushinteger(gL, value);
|
||||
lua_rawset(gL, LUA_GLOBALSINDEX);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue