diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-03-07 09:30:19 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-07 09:30:19 +0100 |
commit | b9f2f77dba00810ed83a4512bab9cf652c2627a0 (patch) | |
tree | 093d0fdf4d89af4e2720d17d187b5074f029f49c | |
parent | e9e0f141f3fe5bceec908abdfbfe6e1d75ea316e (diff) | |
parent | 07c99340d1253799675cdf341c633c29ad0164ad (diff) |
Merge pull request #36814 from ThakeeNathees/typo-gdscript_workspace-fix
typo in gdscript_workspace.cpp fixed
-rw-r--r-- | modules/gdscript/language_server/gdscript_workspace.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdscript/language_server/gdscript_workspace.cpp b/modules/gdscript/language_server/gdscript_workspace.cpp index ea54784f96..886d65d28c 100644 --- a/modules/gdscript/language_server/gdscript_workspace.cpp +++ b/modules/gdscript/language_server/gdscript_workspace.cpp @@ -53,7 +53,7 @@ void GDScriptWorkspace::remove_cache_parser(const String &p_path) { Map<String, ExtendGDScriptParser *>::Element *parser = parse_results.find(p_path); Map<String, ExtendGDScriptParser *>::Element *script = scripts.find(p_path); if (parser && script) { - if (script->get() && script->get() == script->get()) { + if (script->get() && script->get() == parser->get()) { memdelete(script->get()); } else { memdelete(script->get()); |