Updated how map id is passed through to dynamic loot generation
This commit is contained in:
parent
6ffa9d1ba8
commit
64d4eb2cd6
@ -557,11 +557,11 @@ export class LocationLootGenerator {
|
||||
}
|
||||
|
||||
protected getLooseLootMultiplerForLocation(location: string): number {
|
||||
return this.locationConfig.looseLootMultiplier[location.toLowerCase()];
|
||||
return this.locationConfig.looseLootMultiplier[location];
|
||||
}
|
||||
|
||||
protected getStaticLootMultiplerForLocation(location: string): number {
|
||||
return this.locationConfig.staticLootMultiplier[location.toLowerCase()];
|
||||
return this.locationConfig.staticLootMultiplier[location];
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -141,7 +141,7 @@ export class LocationLifecycleService {
|
||||
const dynamicSpawnPoints = this.locationLootGenerator.generateDynamicLoot(
|
||||
dynamicLootDistClone,
|
||||
staticAmmoDist,
|
||||
name,
|
||||
name.toLowerCase(),
|
||||
);
|
||||
|
||||
for (const spawnPoint of dynamicSpawnPoints) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user