Fix BB EP4 solo quest unlocks and ship-state marking

This commit is contained in:
2026-05-31 08:42:39 -04:00
parent 7099045ea1
commit a030983b61
2 changed files with 21 additions and 0 deletions
+7
View File
@@ -4409,6 +4409,13 @@ static asio::awaitable<void> on_E5_BB(shared_ptr<Client> c, Channel::Message& ms
}
c->log.info_f("Marked BB character as Test: {}", c->character_filename());
}
if (!enforce_bb_test_ship_lock(c, s->enable_test_mode)) {
c->unload_character(false);
should_send_approve = false;
} else if (!enforce_bb_hardcore_ship_lock(c, s->enable_hardcore_mode)) {
c->unload_character(false);
should_send_approve = false;
}
} catch (const exception& e) {
send_message_box(c, std::format("$C6New character could not be created:\n{}", e.what()));
should_send_approve = false;