diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-05-13 13:33:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-13 13:33:10 +0200 |
commit | abc6dd7fa20bf3cb7bda6a555a76c1cf2ba1aff8 (patch) | |
tree | ae4adcb19f8afc456e60f5649ffd2820f881bc47 /modules/gdnative/gdnative.cpp | |
parent | 647021e86468bc9b434cc3da110cbf0e30e1599c (diff) | |
parent | aecbb330f37a1c80ba3878c50bfd948317845200 (diff) |
Merge pull request #28839 from Faless/gdnative/lib_resource_fix
Fix GDNative library resource loading.
Diffstat (limited to 'modules/gdnative/gdnative.cpp')
-rw-r--r-- | modules/gdnative/gdnative.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdnative/gdnative.cpp b/modules/gdnative/gdnative.cpp index e8278825bc..c8e17e8dc5 100644 --- a/modules/gdnative/gdnative.cpp +++ b/modules/gdnative/gdnative.cpp @@ -243,7 +243,7 @@ void GDNativeLibrary::_bind_methods() { ClassDB::bind_method(D_METHOD("set_symbol_prefix", "symbol_prefix"), &GDNativeLibrary::set_symbol_prefix); ClassDB::bind_method(D_METHOD("set_reloadable", "reloadable"), &GDNativeLibrary::set_reloadable); - ADD_PROPERTY(PropertyInfo(Variant::OBJECT, "config_file", PROPERTY_HINT_RESOURCE_TYPE, "ConfigFile"), "set_config_file", "get_config_file"); + ADD_PROPERTY(PropertyInfo(Variant::OBJECT, "config_file", PROPERTY_HINT_RESOURCE_TYPE, "ConfigFile", 0), "set_config_file", "get_config_file"); ADD_PROPERTY(PropertyInfo(Variant::BOOL, "load_once"), "set_load_once", "should_load_once"); ADD_PROPERTY(PropertyInfo(Variant::BOOL, "singleton"), "set_singleton", "is_singleton"); |