Commnent improvement

This commit is contained in:
Dev 2024-02-22 21:51:44 +00:00
parent 104fd03b39
commit 6d84dbb2d4

View File

@ -390,7 +390,7 @@ export class BotLootGenerator
{
if (this.itemHasReachedSpawnLimit(itemToAddTemplate, botRole, itemSpawnLimits))
{
// Only remove if pool has some other items to pick
// Remove item from pool to prevent it being picked again
delete pool[weightedItemTpl];
i--;