Merge pull request #77782 from RandomShaper/fix_hc_bind_type

Use right type in the binding of DocCache::classes
This commit is contained in:
Rémi Verschelde 2023-06-03 01:41:34 +02:00 committed by GitHub
commit 5b3019dbca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -65,7 +65,7 @@ protected:
ClassDB::bind_method(D_METHOD("get_classes"), &DocCache::get_classes);
ADD_PROPERTY(PropertyInfo(Variant::STRING, "version_hash"), "set_version_hash", "get_version_hash");
ADD_PROPERTY(PropertyInfo(Variant::DICTIONARY, "classes"), "set_classes", "get_classes");
ADD_PROPERTY(PropertyInfo(Variant::ARRAY, "classes"), "set_classes", "get_classes");
}
public: