From 09bf81f77fc577a8c4fba0489949d34f5d68d574 Mon Sep 17 00:00:00 2001 From: Martin Michelsen Date: Sat, 27 Apr 2024 18:23:32 -0700 Subject: [PATCH] fix duplicate 6xDD commands --- src/SendCommands.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SendCommands.cc b/src/SendCommands.cc index 4d782a10..bb3fa1b9 100644 --- a/src/SendCommands.cc +++ b/src/SendCommands.cc @@ -3052,7 +3052,7 @@ void send_set_exp_multiplier(shared_ptr l) { G_SetEXPMultiplier_BB_6xDD cmd = {{0xDD, sizeof(G_SetEXPMultiplier_BB_6xDD) / 4, (l->mode == GameMode::CHALLENGE) ? 1 : l->base_exp_multiplier}}; for (auto lc : l->clients) { if (lc && (lc->version() == Version::BB_V4)) { - send_command_t(l, 0x60, 0x00, cmd); + send_command_t(lc, 0x60, 0x00, cmd); } } }