mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Fix GDScript placeholder fallback
This commit is contained in:
parent
0f3fc93070
commit
7c4c646749
2 changed files with 9 additions and 1 deletions
|
@ -469,8 +469,15 @@ bool GDScript::_update_exports() {
|
|||
for (Set<PlaceHolderScriptInstance *>::Element *E = placeholders.front(); E; E = E->next()) {
|
||||
E->get()->set_build_failed(true);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
} else {
|
||||
if (!valid) {
|
||||
for (Set<PlaceHolderScriptInstance *>::Element *E = placeholders.front(); E; E = E->next()) {
|
||||
E->get()->set_build_failed(true);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
if (base_cache.is_valid()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue