Updated how map id is passed through to dynamic loot generation

This commit is contained in:
Dev 2024-09-13 22:50:59 +01:00
parent 6ffa9d1ba8
commit 64d4eb2cd6
2 changed files with 3 additions and 3 deletions

View File

@ -557,11 +557,11 @@ export class LocationLootGenerator {
} }
protected getLooseLootMultiplerForLocation(location: string): number { protected getLooseLootMultiplerForLocation(location: string): number {
return this.locationConfig.looseLootMultiplier[location.toLowerCase()]; return this.locationConfig.looseLootMultiplier[location];
} }
protected getStaticLootMultiplerForLocation(location: string): number { protected getStaticLootMultiplerForLocation(location: string): number {
return this.locationConfig.staticLootMultiplier[location.toLowerCase()]; return this.locationConfig.staticLootMultiplier[location];
} }
/** /**

View File

@ -141,7 +141,7 @@ export class LocationLifecycleService {
const dynamicSpawnPoints = this.locationLootGenerator.generateDynamicLoot( const dynamicSpawnPoints = this.locationLootGenerator.generateDynamicLoot(
dynamicLootDistClone, dynamicLootDistClone,
staticAmmoDist, staticAmmoDist,
name, name.toLowerCase(),
); );
for (const spawnPoint of dynamicSpawnPoints) { for (const spawnPoint of dynamicSpawnPoints) {