浏览代码

updated scripting interface

Karroffel 8 年之前
父节点
当前提交
99fceb455a
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      include/core/Godot.hpp

+ 0 - 1
include/core/Godot.hpp

@@ -730,7 +730,6 @@ void register_signal(String name, Dictionary args = Dictionary())
 		// String name = entry[0];
 		String name = args.keys()[i];
 		godot_string *_key = (godot_string *)&name;
-		godot_string_new(&signal.args[i].name);
 		godot_string_new_copy(&signal.args[i].name, _key);
 
 		// if (entry.size() > 1) {