diff --git a/servers/rendering/rendering_device_binds.h b/servers/rendering/rendering_device_binds.h index bf30efbcf62..737a874abc9 100644 --- a/servers/rendering/rendering_device_binds.h +++ b/servers/rendering/rendering_device_binds.h @@ -696,7 +696,7 @@ public: RD_SETGET(Color, blend_constant) void set_attachments(const TypedArray &p_attachments) { - attachments.push_back(p_attachments); + attachments = p_attachments; } TypedArray get_attachments() const {