From 7872fea6ab9cc46f195284e00df5f939f9ad0390 Mon Sep 17 00:00:00 2001 From: Martin Michelsen Date: Sun, 12 Nov 2023 00:01:29 -0800 Subject: [PATCH] send rare enemy list again after loading a quest --- src/ReceiveCommands.cc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/ReceiveCommands.cc b/src/ReceiveCommands.cc index f26dc784..47bb185e 100644 --- a/src/ReceiveCommands.cc +++ b/src/ReceiveCommands.cc @@ -2641,6 +2641,11 @@ static void on_AC_V3_BB(shared_ptr c, uint16_t, uint32_t, string& data) string e_str = l->map->enemies[z].str(); l->log.info("(Entry %zX) %s", z, e_str.c_str()); } + for (auto& lc : l->clients) { + if (lc) { + send_rare_enemy_index_list(c, l->map->rare_enemy_indexes); + } + } } } }