Skip to content

Commit 9f24fd8

Browse files
committed
fix: dota crash
1 parent 700b350 commit 9f24fd8

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/main/dumpers/schemas/schemas.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,8 @@ void Dump()
215215

216216
std::map<std::string, std::unordered_set<std::string>> foundFiles;
217217

218-
for (auto i = 0; i < typeScopes.GetNumStrings(); ++i)
218+
// still can't use GetNumStrings on dota
219+
for (auto i = 0; i < typeScopes.m_Vector.Count(); ++i)
219220
DumpTypeScope(typeScopes[i], schemaPath, foundFiles);
220221

221222
DumpTypeScope(schemaSystem->GlobalTypeScope(), schemaPath, foundFiles);

0 commit comments

Comments
 (0)