updated scripting interface

pull/11/head
Karroffel 2017-06-18 13:35:30 +02:00
parent ebe9d9de6a
commit 51d3cecb5e
1 changed files with 1 additions and 1 deletions

View File

@ -731,7 +731,7 @@ void register_signal(String name, Dictionary args = Dictionary())
String name = args.keys()[i]; String name = args.keys()[i];
godot_string *_key = (godot_string *)&name; godot_string *_key = (godot_string *)&name;
godot_string_new(&signal.args[i].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) { // if (entry.size() > 1) {
// signal.args[i].type = entry[1]; // signal.args[i].type = entry[1];