We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b31e690 + a93f7f9 commit 4efceefCopy full SHA for 4efceef
src/core/Variant.cpp
@@ -188,6 +188,7 @@ Variant::Variant(const PoolColorArray &p_color_array) {
188
}
189
190
Variant &Variant::operator=(const Variant &v) {
191
+ godot::api->godot_variant_destroy(&_godot_variant);
192
godot::api->godot_variant_new_copy(&_godot_variant, &v._godot_variant);
193
return *this;
194
0 commit comments