From 886e9b9f4f9f6e5fc4b0ef953b87b503781776bd Mon Sep 17 00:00:00 2001 From: Martin Michelsen Date: Tue, 18 Nov 2025 10:27:31 -0800 Subject: [PATCH] fix 5% payment type in 6xDA --- src/ReceiveSubcommands.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ReceiveSubcommands.cc b/src/ReceiveSubcommands.cc index c3c17022..d9504370 100644 --- a/src/ReceiveSubcommands.cc +++ b/src/ReceiveSubcommands.cc @@ -5394,7 +5394,7 @@ static asio::awaitable on_upgrade_weapon_attribute_bb(shared_ptr c attribute_amount = 30; } else if (cmd.payment_type == 0 && cmd.payment_count == 4) { attribute_amount = 1; - } else if (cmd.payment_type == 1 && cmd.payment_count == 20) { + } else if (cmd.payment_type == 0 && cmd.payment_count == 20) { attribute_amount = 5; } else { throw runtime_error("unknown PD/PS expenditure");