diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2022-06-27 14:02:21 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2022-06-27 14:02:21 +0200 |
commit | bbca1d6530884f490f36620f3652c6dd4a3a16cb (patch) | |
tree | 93a0144c9fc52b26ac4de70dcb730d5eca45086a /editor | |
parent | 09c584990c52943c6bd8d156dc53024bd57da7ab (diff) |
Fixup #62318 after ResourceCache changes
Diffstat (limited to 'editor')
-rw-r--r-- | editor/editor_node.cpp | 2 |
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. } |