made lua debugger stop crying and added more docs

This commit is contained in:
2026-01-16 08:40:16 -05:00
parent e5d6ec9725
commit bd8fe50770
17 changed files with 66 additions and 105 deletions

View File

@@ -204,6 +204,7 @@ function type(object, trueType)
else
if oldtype(oldgetmetatable(object))=="table" then
local metatable = oldgetmetatable(object)
---@diagnostic disable-next-line: need-check-nil
if metatable.__type then return metatable.__type end
else
return "table"