fix mknew

This commit is contained in:
Kistaro Windrider 2023-12-20 13:13:51 -08:00
parent 9ef762268f
commit a39c419e5f
Signed by: kistaro
SSH Key Fingerprint: SHA256:TBE2ynfmJqsAf0CP6gsflA0q5X5wD5fVKWPsZ7eVUg8

View File

@ -39,6 +39,7 @@ function mknew(tt, more)
if(more) more(ret) if(more) more(ret)
if(oldnew) oldnew(ret) if(oldnew) oldnew(ret)
setmetatable(ret, mt) setmetatable(ret, mt)
return ret
end end
end end