Skip progress reporting on no navmesh tiles to generate

This commit is contained in:
elsid
2026-04-02 10:15:33 -07:00
parent 483210dfb2
commit 8a6b07f230
+2
View File
@@ -211,6 +211,8 @@ namespace NavMeshTool
Status wait()
{
if (mExpected == 0)
return Status::Ok;
constexpr std::chrono::seconds transactionInterval(1);
std::unique_lock lock(mMutex);
auto start = std::chrono::steady_clock::now();