swap let to const

This commit is contained in:
Dev 2024-02-11 12:16:08 +00:00
parent 9819ac3737
commit 5ec01d51c7

View File

@ -403,7 +403,7 @@ export class LocationGenerator
containerClone.template.Root = parentId;
containerClone.template.Items[0]._id = parentId;
let containerMap = this.getContainerMapping(containerTpl);
const containerMap = this.getContainerMapping(containerTpl);
// Choose count of items to add to container
const itemCountToAdd = this.getWeightedCountOfContainerItems(containerTpl, staticLootDist, locationName);