Fix missing else

This commit is contained in:
Petri Häkkinen 2023-11-04 07:42:22 +02:00
parent 37c5a3fa9e
commit eb2f1558f2

View file

@ -129,7 +129,7 @@ const TString* luaT_objtypenamestr(lua_State* L, const TValue* o)
if (ttisstring(type)) if (ttisstring(type))
return tsvalue(type); return tsvalue(type);
} }
if (ttislightuserdata(o)) else if (ttislightuserdata(o))
{ {
const TString* name = L->global->lightuserdataname[o->extra[0]]; const TString* name = L->global->lightuserdataname[o->extra[0]];