diff --git a/src/openrct2/core/FileIndex.hpp b/src/openrct2/core/FileIndex.hpp index eb4ee05725..074034d15f 100644 --- a/src/openrct2/core/FileIndex.hpp +++ b/src/openrct2/core/FileIndex.hpp @@ -263,10 +263,10 @@ private: { allItems.insert(allItems.end(), itr.begin(), itr.end()); } - - WriteIndexFile(language, scanResult.Stats, allItems); } + WriteIndexFile(language, scanResult.Stats, allItems); + auto endTime = std::chrono::high_resolution_clock::now(); auto duration = (std::chrono::duration)(endTime - startTime); Console::WriteLine("Finished building %s in %.2f seconds.", _name.c_str(), duration.count());