From 0c9cd57329af7d58895af605e8b3f4a2007d168b Mon Sep 17 00:00:00 2001 From: Martin Michelsen Date: Sat, 6 Jun 2026 17:11:00 -0700 Subject: [PATCH] fix 6xDA attribute computation; closes #775 --- src/ReceiveSubcommands.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ReceiveSubcommands.cc b/src/ReceiveSubcommands.cc index f73197b4..5861e3f3 100644 --- a/src/ReceiveSubcommands.cc +++ b/src/ReceiveSubcommands.cc @@ -5475,7 +5475,7 @@ static void on_upgrade_weapon_attribute_bb(std::shared_ptr c, Subcommand send_destroy_item_to_lobby(c, payment_item.id, cmd.payment_count); item.data1[attribute_index] = cmd.attribute; - item.data1[attribute_index + 1] += new_attr_value; + item.data1[attribute_index + 1] = new_attr_value; send_destroy_item_to_lobby(c, item.id, 1); send_create_inventory_item_to_lobby(c, c->lobby_client_id, item);