summaryrefslogtreecommitdiff
path: root/modules/mono/editor/csharp_project.cpp
diff options
context:
space:
mode:
authorIgnacio Roldán Etcheverry <neikeq@users.noreply.github.com>2019-04-26 20:41:13 +0200
committerGitHub <noreply@github.com>2019-04-26 20:41:13 +0200
commit2931b4db5145d17da46caee1ccf4322939751707 (patch)
tree01dc11e24953ac8e79ca2e6d358f318635378270 /modules/mono/editor/csharp_project.cpp
parent260530f01caa8ea3e2fb7bfda04f4bd718ae14f5 (diff)
parent791e1294c33626adad323f292702221cc09c21cc (diff)
Merge pull request #28433 from neikeq/lazy-load-scripts-metadata
Mono: Lazily load scripts metadata file
Diffstat (limited to 'modules/mono/editor/csharp_project.cpp')
-rw-r--r--modules/mono/editor/csharp_project.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mono/editor/csharp_project.cpp b/modules/mono/editor/csharp_project.cpp
index beeff51bc2..fe79286556 100644
--- a/modules/mono/editor/csharp_project.cpp
+++ b/modules/mono/editor/csharp_project.cpp
@@ -158,7 +158,7 @@ Error generate_scripts_metadata(const String &p_project_path, const String &p_ou
PoolStringArray project_files = GDMonoMarshal::mono_array_to_PoolStringArray(ret);
PoolStringArray::Read r = project_files.read();
- Dictionary old_dict = CSharpLanguage::get_singleton()->get_scripts_metadata();
+ Dictionary old_dict = CSharpLanguage::get_singleton()->get_scripts_metadata_or_nothing();
Dictionary new_dict;
for (int i = 0; i < project_files.size(); i++) {