Revert "GRIM: Fix string comparison in lua"

This reverts commit d783be1570.
This commit is contained in:
aquadran 2022-05-26 20:46:05 +02:00
parent 6735e3c0f0
commit bbe9b3cf64

View File

@ -48,7 +48,7 @@ int32 luaO_equalObj(TObject *t1, TObject *t2) {
case LUA_T_USERDATA:
return (t1->value.ud.id == t2->value.ud.id && t1->value.ud.tag == t2->value.ud.tag);
case LUA_T_STRING:
return tsvalue(t1) == tsvalue(t2);
return svalue(t1) == svalue(t2);
case LUA_T_ARRAY:
return avalue(t1) == avalue(t2);
case LUA_T_PROTO: