summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-06-27 14:02:21 +0200
committerRémi Verschelde <rverschelde@gmail.com>2022-06-27 14:02:21 +0200
commitbbca1d6530884f490f36620f3652c6dd4a3a16cb (patch)
tree93a0144c9fc52b26ac4de70dcb730d5eca45086a /editor
parent09c584990c52943c6bd8d156dc53024bd57da7ab (diff)
Fixup #62318 after ResourceCache changes
Diffstat (limited to 'editor')
-rw-r--r--editor/editor_node.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp
index 4b9b3a8c28..b4b82b1edf 100644
--- a/editor/editor_node.cpp
+++ b/editor/editor_node.cpp
@@ -1654,7 +1654,7 @@ int EditorNode::_save_external_resources() {
}
for (const String &E : edited_resources) {
- Ref<Resource> res = Ref<Resource>(ResourceCache::get(E));
+ Ref<Resource> res = ResourceCache::get_ref(E);
if (!res.is_valid()) {
continue; // Maybe it was erased in a thread, who knows.
}