Fix typo.

This commit is contained in:
Relintai 2023-06-06 23:25:03 +02:00
parent 5ace0cd58f
commit 9386fa1639

View File

@ -179,7 +179,7 @@ void NavigationPolygonEditor::_bake_pressed() {
ERR_FAIL_COND(!node); ERR_FAIL_COND(!node);
Ref<NavigationPolygon> navigation_polygon = node->get_navigation_polygon(); Ref<NavigationPolygon> navigation_polygon = node->get_navigation_polygon();
if (!navigation_polygon.is_valid()) { if (!navigation_polygon.is_valid()) {
err_dialog->set_text(TTR("A NavigationMesh2D resource must be set or created for this node to work.")); err_dialog->set_text(TTR("A NavigationPolygon resource must be set or created for this node to work."));
err_dialog->popup_centered(); err_dialog->popup_centered();
return; return;
} }