fix Ep3 card trade sequence

This commit is contained in:
Martin Michelsen
2023-12-02 18:24:07 -08:00
parent 3160d86eaa
commit 0442f6e579
+1 -1
View File
@@ -2159,7 +2159,7 @@ void send_execute_item_trade(shared_ptr<Client> c, const vector<ItemData>& items
}
void send_execute_card_trade(shared_ptr<Client> c, const vector<pair<uint32_t, uint32_t>>& card_to_count) {
if (is_ep3(c->version())) {
if (!is_ep3(c->version())) {
throw logic_error("cannot send trade cards command to non-Ep3 client");
}