Fix typo involving the stringargs exposure.

This commit is contained in:
Nev3r 2020-04-13 10:21:32 +02:00
parent ca694c8c43
commit 5e20e9e27e

View file

@ -819,12 +819,12 @@ static int mapthing_get(lua_State *L)
number = mt->tag; number = mt->tag;
else if(fastcmp(field,"args")) else if(fastcmp(field,"args"))
{ {
LUA_PushUserdata(L, mt->args, META_THINGARGS); LUA_PushUserdata(L, mt->stringargs, META_THINGARGS);
return 1; return 1;
} }
else if(fastcmp(field,"stringargs")) else if(fastcmp(field,"stringargs"))
{ {
LUA_PushUserdata(L, mt->args, META_THINGSTRINGARGS); LUA_PushUserdata(L, mt->stringargs, META_THINGSTRINGARGS);
return 1; return 1;
} }
else if(fastcmp(field,"mobj")) { else if(fastcmp(field,"mobj")) {