Fix object check on Variant key checker
This commit is contained in:
parent
e4e9231420
commit
0abacae2d3
1 changed files with 1 additions and 1 deletions
|
@ -1181,7 +1181,7 @@ struct VariantKeyedSetGetObject {
|
|||
|
||||
static bool has(const Variant *base, const Variant *key, bool *r_valid) {
|
||||
Object *obj = base->get_validated_object();
|
||||
if (obj != nullptr) {
|
||||
if (!obj) {
|
||||
*r_valid = false;
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue