Merge pull request #82368 from kleonc/NavMeshGenerator2D-dev-assert-assignment-typo
Fix typo in dev assert in NavMeshGenerator2D
This commit is contained in:
commit
e0b1171396
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ void NavMeshGenerator2D::sync() {
|
||||||
finished_task_ids.push_back(E.key);
|
finished_task_ids.push_back(E.key);
|
||||||
|
|
||||||
NavMeshGeneratorTask2D *generator_task = E.value;
|
NavMeshGeneratorTask2D *generator_task = E.value;
|
||||||
DEV_ASSERT(generator_task->status = NavMeshGeneratorTask2D::TaskStatus::BAKING_FINISHED);
|
DEV_ASSERT(generator_task->status == NavMeshGeneratorTask2D::TaskStatus::BAKING_FINISHED);
|
||||||
|
|
||||||
baking_navmeshes.erase(generator_task->navigation_mesh);
|
baking_navmeshes.erase(generator_task->navigation_mesh);
|
||||||
if (generator_task->callback.is_valid()) {
|
if (generator_task->callback.is_valid()) {
|
||||||
|
|
Loading…
Reference in a new issue