From bfd5c246decddd6bf3bcbbf65cc9cefd67e82793 Mon Sep 17 00:00:00 2001 From: Martin Michelsen Date: Sun, 4 Feb 2024 17:13:43 -0800 Subject: [PATCH] don't use 6x97 for challenge retries on BB --- src/ReceiveSubcommands.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ReceiveSubcommands.cc b/src/ReceiveSubcommands.cc index fe953bf8..86792bcc 100644 --- a/src/ReceiveSubcommands.cc +++ b/src/ReceiveSubcommands.cc @@ -3179,7 +3179,8 @@ static void on_challenge_mode_retry_or_quit(shared_ptr c, uint8_t comman const auto& cmd = check_size_t(data, size); auto l = c->require_lobby(); - if ((cmd.is_retry == 1) && l->is_game() && l->quest && (l->quest->challenge_template_index >= 0)) { + // On BB, we use 02DF to restart the quest instead + if (l->is_game() && (cmd.is_retry == 1) && (l->base_version != Version::BB_V4) && l->quest && (l->quest->challenge_template_index >= 0)) { auto s = l->require_server_state(); for (auto& m : l->floor_item_managers) {