qe201020335 a7ae3c3c67 Fix ProbabilityObjectArray.draw returning undefined when the pool is initially empty (!227)
It now returns an empty array if the pool is initially empty.

This function does not guarantee the number of elements returned because it will break out the loop early if the pool is exhausted.

Co-authored-by: qe201020335 <qe201020335@sina.com>
Reviewed-on: https://dev.sp-tarkov.com/SPT-AKI/Server/pulls/227
Co-authored-by: qe201020335 <qe201020335@noreply.dev.sp-tarkov.com>
Co-committed-by: qe201020335 <qe201020335@noreply.dev.sp-tarkov.com>
2024-02-16 10:12:15 +00:00
..
2023-12-15 14:06:02 +00:00
2024-02-05 19:03:26 -05:00
2023-03-03 15:23:46 +00:00
2023-12-15 13:59:45 +00:00
2023-10-29 22:20:34 +00:00
2023-11-16 21:42:06 +00:00
2023-03-03 15:23:46 +00:00
2023-11-16 21:42:06 +00:00
2023-12-12 09:50:46 +00:00
2023-11-16 21:42:06 +00:00
2024-02-05 19:03:26 -05:00
2023-12-21 19:02:07 +00:00
2023-11-06 19:39:13 +00:00
2023-11-06 19:39:13 +00:00
2023-11-16 21:42:06 +00:00
2023-11-15 21:12:40 -05:00