Rename empty() to is_empty()
This commit is contained in:
parent
886571e0fc
commit
5b937d493f
289 changed files with 898 additions and 898 deletions
|
|
@ -109,7 +109,7 @@ String NavigationObstacle2D::get_configuration_warning() const {
|
|||
String warning = Node::get_configuration_warning();
|
||||
|
||||
if (!Object::cast_to<Node2D>(get_parent())) {
|
||||
if (!warning.empty()) {
|
||||
if (!warning.is_empty()) {
|
||||
warning += "\n\n";
|
||||
}
|
||||
warning += TTR("The NavigationObstacle2D only serves to provide collision avoidance to a Node2D object.");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue