返回提交历史
Modified
src/services/serversideVendorsService.ts
+4
-0
XFEstudio/SpaceNinjaServer
fix: acrithis vendor freezing with fullyStockedVendors (#2326)
Permanent offers were not satisfying bin constraints Reviewed-on: https://onlyg.it/OpenWF/SpaceNinjaServer/pulls/2326 Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
3cae42c7
代码差异
1 个文件
+4
-0
@@ -281,6 +281,10 @@ const generateVendorManifest = (
281
281
offersToAdd.push(item);
282
282
++offset;
283
283
}
284
if (missingItemsPerBin[item.bin]) {
285
missingItemsPerBin[item.bin] -= 1;
286
numOffersThatNeedToMatchABin -= 1;
287
}
284
288
} else {
285
289
numCountedOffers += 1 + item.duplicates;
286
290
}