fix 5% payment type in 6xDA

This commit is contained in:
Martin Michelsen
2025-11-18 10:27:31 -08:00
parent 26d2ae416e
commit 886e9b9f4f
+1 -1
View File
@@ -5394,7 +5394,7 @@ static asio::awaitable<void> on_upgrade_weapon_attribute_bb(shared_ptr<Client> 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");