You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-11 13:10:58 +00:00
Improve signal already connected error message
The signal already connected message is improved to provide the names of the objects involved.
This commit is contained in:
@@ -2126,6 +2126,8 @@ void Node::get_storable_properties(Set<StringName> &r_storable_properties) const
|
||||
}
|
||||
|
||||
String Node::to_string() {
|
||||
// This code doesn't print the script's name, it calls to_string() if you override it in a Node's script,
|
||||
// which you only do if you specifically want to customize how the node should be represented by print().
|
||||
if (get_script_instance()) {
|
||||
bool valid;
|
||||
String ret = get_script_instance()->to_string(&valid);
|
||||
|
||||
Reference in New Issue
Block a user