diff --git a/include/core/Godot.hpp b/include/core/Godot.hpp index 1d713c82..a9410932 100644 --- a/include/core/Godot.hpp +++ b/include/core/Godot.hpp @@ -731,7 +731,7 @@ void register_signal(String name, Dictionary args = Dictionary()) String name = args.keys()[i]; godot_string *_key = (godot_string *)&name; godot_string_new(&signal.args[i].name); - godot_string_copy_string(&signal.args[i].name, _key); + godot_string_new_copy(&signal.args[i].name, _key); // if (entry.size() > 1) { // signal.args[i].type = entry[1];