You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 19:41:11 +00:00
Fix not to show configuration warning on every node has script
This commit is contained in:
@@ -2555,7 +2555,7 @@ void Node::clear_internal_tree_resource_paths() {
|
|||||||
|
|
||||||
String Node::get_configuration_warning() const {
|
String Node::get_configuration_warning() const {
|
||||||
|
|
||||||
if (get_script_instance()) {
|
if (get_script_instance() && get_script_instance()->has_method("_get_configuration_warning")) {
|
||||||
return get_script_instance()->call("_get_configuration_warning");
|
return get_script_instance()->call("_get_configuration_warning");
|
||||||
}
|
}
|
||||||
return String();
|
return String();
|
||||||
|
|||||||
Reference in New Issue
Block a user