More debugging prints

This commit is contained in:
2021-11-21 13:42:52 -05:00
parent b19825aaca
commit af7cd8a5b9

View File

@@ -227,6 +227,7 @@ void World::patch_tanclass(StreamBuffer *sb, DebugCollector *dbc) {
assert(LS.istable(tab));
LS.getmetatable(meta, tab);
std::string name = sb->read_string();
DebugLine(dbc) << "tanclass " << id << "=" << name;
if (name == "") {
LS.rawset(meta, "__index", LuaNil);
} else {