Skip to content
Snippets Groups Projects
Commit 911b4622 authored by Logan Aerl Arias's avatar Logan Aerl Arias
Browse files

Merge branch 'fix-taglist-methods' into 'next'

Fix Lua taglists methods not working

See merge request STJr/SRB2!2244
parents 454a43f0 646d1b0e
No related branches found
No related tags found
No related merge requests found
...@@ -228,7 +228,7 @@ static int taglist_get(lua_State *L) ...@@ -228,7 +228,7 @@ static int taglist_get(lua_State *L)
} }
else else
{ {
lua_getmetatable(L, 1); lua_getglobal(L, "taglist");
lua_replace(L, 1); lua_replace(L, 1);
lua_rawget(L, 1); lua_rawget(L, 1);
return 1; return 1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment