Don't synchronize scripts with errors

This commit is contained in:
kobewi 2025-05-08 17:29:15 +02:00
parent 8f78e7510d
commit 9e0203a58a
2 changed files with 12 additions and 1 deletions

View file

@ -177,7 +177,7 @@ bool GDScriptLanguage::validate(const String &p_script, const String &p_path, Li
}
}
return false;
} else {
} else if (r_functions) {
const GDScriptParser::ClassNode *cl = parser.get_tree();
HashMap<int, String> funcs;