don't disconnect when no combinations apply

This commit is contained in:
Martin Michelsen
2023-12-04 22:54:59 -08:00
parent 3075370975
commit 4ccbb2f683
-4
View File
@@ -247,10 +247,6 @@ void player_use_item(shared_ptr<Client> c, size_t item_index) {
} catch (const out_of_range&) {
}
}
if (!combo_applied) {
throw runtime_error("no combinations apply");
}
}
if (should_delete_item) {