Merge pull request #96173 from Repiteo/core/fix-unreachable-code

Core: Fix unreachable code
This commit is contained in:
Rémi Verschelde 2024-08-27 17:52:47 +02:00
commit 142d33211c
No known key found for this signature in database
GPG Key ID: C3336907360768E1
1 changed files with 2 additions and 1 deletions

View File

@ -712,8 +712,9 @@ Variant PlaceHolderScriptInstance::callp(const StringName &p_method, const Varia
} else {
return String("Attempt to call a method on a placeholder instance. Probably a bug, please report.");
}
#endif
#else
return Variant();
#endif // TOOLS_ENABLED
}
void PlaceHolderScriptInstance::update(const List<PropertyInfo> &p_properties, const HashMap<StringName, Variant> &p_values) {