1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

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;