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 {
|
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];
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -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) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user