fix challenge overlays after retry on non-BB versions

This commit is contained in:
Martin Michelsen
2024-02-04 17:06:58 -08:00
parent c6e930b994
commit 97cf9c5093
3 changed files with 34 additions and 4 deletions
+4
View File
@@ -3672,6 +3672,10 @@ static void on_DF_BB(shared_ptr<Client> c, uint16_t command, uint32_t, string& d
throw runtime_error("challenge template index in quest metadata does not match index sent by client");
}
for (auto& m : l->floor_item_managers) {
m.clear();
}
for (auto lc : l->clients) {
if (lc) {
lc->use_default_bank();