Commit eac2793c authored by twanvl's avatar twanvl

don't pass requested_copies again, that would result in n^2 cards

parent bd9c0d23
...@@ -370,7 +370,7 @@ void PackInstance::generate(vector<CardP>* out) { ...@@ -370,7 +370,7 @@ void PackInstance::generate(vector<CardP>* out) {
} }
// have we reached the item we were looking for? // have we reached the item we were looking for?
if (r < 0) { if (r < 0) {
i.request_copy(requested_copies * item->amount); i.request_copy(item->amount);
break; break;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment