Fix external resource cache regression

This commit is contained in:
PouleyKetchoupp 2021-06-16 16:07:04 -07:00
parent 465ab36ddf
commit c957035320
2 changed files with 2 additions and 0 deletions

View file

@ -422,6 +422,7 @@ Error ResourceInteractiveLoaderText::poll() {
}
ExtResource er;
er.cache = res;
er.path = path;
er.type = type;
ext_resources[index] = er;

View file

@ -48,6 +48,7 @@ class ResourceInteractiveLoaderText : public ResourceInteractiveLoader {
VariantParser::StreamFile stream;
struct ExtResource {
RES cache;
String path;
String type;
};