Use right type in the binding of DocCache::classes

This commit is contained in:
Pedro J. Estébanez 2023-06-02 22:03:21 +02:00
parent 2e273f0e35
commit f9836fed72

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: