mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Rename empty() to is_empty()
This commit is contained in:
@@ -257,7 +257,7 @@ String PathFollow2D::get_configuration_warning() const {
|
||||
String warning = Node2D::get_configuration_warning();
|
||||
|
||||
if (!Object::cast_to<Path2D>(get_parent())) {
|
||||
if (!warning.empty()) {
|
||||
if (!warning.is_empty()) {
|
||||
warning += "\n\n";
|
||||
}
|
||||
warning += TTR("PathFollow2D only works when set as a child of a Path2D node.");
|
||||
|
||||
Reference in New Issue
Block a user