Merge pull request #11549 from hpvb/fix-11543

Fix Dictionary set_named
This commit is contained in:
Hein-Pieter van Braam 2017-09-24 20:22:53 +02:00 committed by GitHub
commit a124651280

View file

@ -1519,7 +1519,7 @@ void Variant::set_named(const StringName &p_index, const Variant &p_value, bool
} break;
default: {
set(p_index.operator String(), p_value, r_valid);
set(p_index.operator String(), p_value, &valid);
} break;
}