Merge pull request #96173 from Repiteo/core/fix-unreachable-code
Core: Fix unreachable code
This commit is contained in:
commit
142d33211c
|
@ -712,8 +712,9 @@ Variant PlaceHolderScriptInstance::callp(const StringName &p_method, const Varia
|
||||||
} else {
|
} else {
|
||||||
return String("Attempt to call a method on a placeholder instance. Probably a bug, please report.");
|
return String("Attempt to call a method on a placeholder instance. Probably a bug, please report.");
|
||||||
}
|
}
|
||||||
#endif
|
#else
|
||||||
return Variant();
|
return Variant();
|
||||||
|
#endif // TOOLS_ENABLED
|
||||||
}
|
}
|
||||||
|
|
||||||
void PlaceHolderScriptInstance::update(const List<PropertyInfo> &p_properties, const HashMap<StringName, Variant> &p_values) {
|
void PlaceHolderScriptInstance::update(const List<PropertyInfo> &p_properties, const HashMap<StringName, Variant> &p_values) {
|
||||||
|
|
Loading…
Reference in New Issue