diff options
Diffstat (limited to 'core/packed_data_container.cpp')
-rw-r--r-- | core/packed_data_container.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/packed_data_container.cpp b/core/packed_data_container.cpp index e335ec0daa..f70482288d 100644 --- a/core/packed_data_container.cpp +++ b/core/packed_data_container.cpp @@ -39,6 +39,9 @@ Variant PackedDataContainer::getvar(const Variant &p_key, bool *r_valid) const { if (r_valid) { *r_valid = !err; } + if (err) { + return Object::getvar(p_key, r_valid); + } return ret; } |