From 54336638663dffc56b6d843e8a4b5c37ce225e6c Mon Sep 17 00:00:00 2001 From: Martin Michelsen Date: Sat, 15 Jun 2024 17:11:31 -0700 Subject: [PATCH] fix Guild Card comment update on BB --- src/ReceiveCommands.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/ReceiveCommands.cc b/src/ReceiveCommands.cc index 0d48ee66..ae33dbd8 100644 --- a/src/ReceiveCommands.cc +++ b/src/ReceiveCommands.cc @@ -3515,6 +3515,10 @@ static void on_E8_BB(shared_ptr c, uint16_t command, uint32_t, string& d should_save = true; } } + if (c->login && new_gc.guild_card_number == c->login->account->account_id) { + c->character(true, false)->guild_card.description = new_gc.description; + c->log.info("Updated character's guild card"); + } break; } case 0x07E8: { // Add blocked user