From 07c99340d1253799675cdf341c633c29ad0164ad Mon Sep 17 00:00:00 2001 From: Thakee Nathees Date: Thu, 5 Mar 2020 20:51:02 +0530 Subject: typo in gdscript_workspace.cpp/remove_cache_parser() fixed --- modules/gdscript/language_server/gdscript_workspace.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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::Element *parser = parse_results.find(p_path); Map::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()); -- cgit v1.2.3