mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Don't synchronize scripts with errors
This commit is contained in:
parent
8f78e7510d
commit
9e0203a58a
2 changed files with 12 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue