swap let to const
This commit is contained in:
parent
9819ac3737
commit
5ec01d51c7
@ -403,7 +403,7 @@ export class LocationGenerator
|
|||||||
containerClone.template.Root = parentId;
|
containerClone.template.Root = parentId;
|
||||||
containerClone.template.Items[0]._id = 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
|
// Choose count of items to add to container
|
||||||
const itemCountToAdd = this.getWeightedCountOfContainerItems(containerTpl, staticLootDist, locationName);
|
const itemCountToAdd = this.getWeightedCountOfContainerItems(containerTpl, staticLootDist, locationName);
|
||||||
|
Loading…
Reference in New Issue
Block a user