1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Type of exported typed array can be external resource

This commit is contained in:
Jordyfel
2023-11-17 19:27:42 +02:00
parent e5b4ef8e95
commit 82de00a174
2 changed files with 2 additions and 0 deletions

View File

@@ -2016,6 +2016,7 @@ void ResourceFormatSaverBinaryInstance::_find_resources(const Variant &p_variant
case Variant::ARRAY: {
Array varray = p_variant;
_find_resources(varray.get_typed_script());
int len = varray.size();
for (int i = 0; i < len; i++) {
const Variant &v = varray.get(i);