typo in gdscript_workspace.cpp/remove_cache_parser() fixed
(cherry picked from commit 07c99340d1
)
This commit is contained in:
parent
69c1805735
commit
708aab7920
|
@ -50,7 +50,7 @@ void GDScriptWorkspace::remove_cache_parser(const String &p_path) {
|
||||||
Map<String, ExtendGDScriptParser *>::Element *parser = parse_results.find(p_path);
|
Map<String, ExtendGDScriptParser *>::Element *parser = parse_results.find(p_path);
|
||||||
Map<String, ExtendGDScriptParser *>::Element *script = scripts.find(p_path);
|
Map<String, ExtendGDScriptParser *>::Element *script = scripts.find(p_path);
|
||||||
if (parser && script) {
|
if (parser && script) {
|
||||||
if (script->get() && script->get() == script->get()) {
|
if (script->get() && script->get() == parser->get()) {
|
||||||
memdelete(script->get());
|
memdelete(script->get());
|
||||||
} else {
|
} else {
|
||||||
memdelete(script->get());
|
memdelete(script->get());
|
||||||
|
|
Loading…
Reference in New Issue