|
@@ -684,7 +684,7 @@ def generate_type_registry(classes):
|
|
|
if base_class_name == "":
|
|
|
base_class_type_hash = "0"
|
|
|
|
|
|
- source.append("\tgodot::_TagDB::register_global_type(\"" + class_name + "\", " + class_type_hash + ", " + base_class_type_hash + ");")
|
|
|
+ source.append("\tgodot::_TagDB::register_global_type(\"" + c["name"] + "\", " + class_type_hash + ", " + base_class_type_hash + ");")
|
|
|
|
|
|
source.append("}")
|
|
|
|