Skip to content
Snippets Groups Projects
Commit 8073b8b3 authored by LJ Sonic's avatar LJ Sonic
Browse files

Fix rare Lua bug when updating a SPR_ constant

parent 9ca5ce01
No related branches found
No related tags found
1 merge request!2394Sprite names up to 64 character long and 256 frames per sprite
......@@ -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);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment