fix EXP multiplier command

This commit is contained in:
Martin Michelsen
2023-10-19 17:24:13 -07:00
parent 57a5476ff8
commit de0e56f37c
+1 -1
View File
@@ -2193,7 +2193,7 @@ void send_set_exp_multiplier(std::shared_ptr<Lobby> l) {
if (!l->is_game()) { if (!l->is_game()) {
throw logic_error("6xDD can only be sent in games (not in lobbies)"); throw logic_error("6xDD can only be sent in games (not in lobbies)");
} }
G_SetEXPMultiplier_BB_6xDD cmd = {{0xBF, sizeof(G_SetEXPMultiplier_BB_6xDD) / 4, l->exp_multiplier}}; G_SetEXPMultiplier_BB_6xDD cmd = {{0xDD, sizeof(G_SetEXPMultiplier_BB_6xDD) / 4, l->exp_multiplier}};
send_command_t(l, 0x60, 0x00, cmd); send_command_t(l, 0x60, 0x00, cmd);
} }