summaryrefslogtreecommitdiff
path: root/editor/export
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2023-01-31 10:52:43 +0100
committerJuan Linietsky <reduzio@gmail.com>2023-01-31 11:28:21 +0100
commit79897dd5bc75bb0553a48fd36537454f5ad95764 (patch)
tree75f3f4808bd1d08644dcd52eeb5be28072b5baef /editor/export
parente9de988020f3d46c3e7b4fd5a8a80724996035e0 (diff)
Restore script class cache if removed
I have no idea why anyone would do this, but this fixes it. Fixes #72154. Depends on #72444 being merged to function properly.
Diffstat (limited to 'editor/export')
-rw-r--r--editor/export/editor_export_platform.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/export/editor_export_platform.cpp b/editor/export/editor_export_platform.cpp
index fe67813d65..a46484bb0e 100644
--- a/editor/export/editor_export_platform.cpp
+++ b/editor/export/editor_export_platform.cpp
@@ -814,7 +814,7 @@ Error EditorExportPlatform::export_project_files(const Ref<EditorExportPreset> &
HashSet<String> paths;
Vector<String> path_remaps;
- paths.insert(ProjectSettings::get_singleton()->get_project_data_path().path_join("global_script_class_cache.cfg"));
+ paths.insert(ProjectSettings::get_singleton()->get_global_class_list_path());
if (p_preset->get_export_filter() == EditorExportPreset::EXPORT_ALL_RESOURCES) {
//find stuff
_export_find_resources(EditorFileSystem::get_singleton()->get_filesystem(), paths);