You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Rename empty() to is_empty()
This commit is contained in:
@@ -163,7 +163,7 @@ String Container::get_configuration_warning() const {
|
||||
String warning = Control::get_configuration_warning();
|
||||
|
||||
if (get_class() == "Container" && get_script().is_null()) {
|
||||
if (!warning.empty()) {
|
||||
if (!warning.is_empty()) {
|
||||
warning += "\n\n";
|
||||
}
|
||||
warning += TTR("Container by itself serves no purpose unless a script configures its children placement behavior.\nIf you don't intend to add a script, use a plain Control node instead.");
|
||||
|
||||
Reference in New Issue
Block a user