2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-07-15 14:05:52 +00:00

Fix cook tool crash

This commit is contained in:
Jack Andersen 2018-06-15 16:26:30 -10:00
parent 61f744e15d
commit 3f45710fb2
2 changed files with 3 additions and 4 deletions

View File

@ -168,9 +168,8 @@ public:
{ {
hecl::MultiProgressPrinter printer(true); hecl::MultiProgressPrinter printer(true);
hecl::ClientProcess cp(&printer); hecl::ClientProcess cp(&printer);
for (int i=0 ; i<m_spec->m_numCookPasses ; ++i)
for (const hecl::ProjectPath& path : m_selectedItems) for (const hecl::ProjectPath& path : m_selectedItems)
m_useProj->cookPath(path, printer, m_recursive, m_info.force, m_fast, m_spec, &cp, i); m_useProj->cookPath(path, printer, m_recursive, m_info.force, m_fast, m_spec, &cp);
cp.waitUntilComplete(); cp.waitUntilComplete();
return 0; return 0;
} }