From 51d3cecb5e4ec270c0a7a52a3b8605ed0ab8b703 Mon Sep 17 00:00:00 2001 From: Karroffel Date: Sun, 18 Jun 2017 13:35:30 +0200 Subject: [PATCH] updated scripting interface --- include/core/Godot.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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];