You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-08 12:40:44 +00:00
Fix LUA-style assignment in Dictionary
This commit is contained in:
@@ -239,7 +239,8 @@ void Variant::set_named(const StringName &p_member, const Variant &p_value, bool
|
||||
*v = p_value;
|
||||
r_valid = true;
|
||||
} else {
|
||||
r_valid = false;
|
||||
VariantGetInternalPtr<Dictionary>::get_ptr(this)->operator[](p_member) = p_value;
|
||||
r_valid = true;
|
||||
}
|
||||
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user