From bbca1d6530884f490f36620f3652c6dd4a3a16cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Mon, 27 Jun 2022 14:02:21 +0200 Subject: [PATCH] Fixup #62318 after ResourceCache changes --- editor/editor_node.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp index 4b9b3a8c282..b4b82b1edfa 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 res = Ref(ResourceCache::get(E)); + Ref res = ResourceCache::get_ref(E); if (!res.is_valid()) { continue; // Maybe it was erased in a thread, who knows. }