Fixed loot generation breaking due to map capitalisation
This commit is contained in:
parent
1d55075f99
commit
6ffa9d1ba8
@ -557,11 +557,11 @@ export class LocationLootGenerator {
|
|||||||
}
|
}
|
||||||
|
|
||||||
protected getLooseLootMultiplerForLocation(location: string): number {
|
protected getLooseLootMultiplerForLocation(location: string): number {
|
||||||
return this.locationConfig.looseLootMultiplier[location];
|
return this.locationConfig.looseLootMultiplier[location.toLowerCase()];
|
||||||
}
|
}
|
||||||
|
|
||||||
protected getStaticLootMultiplerForLocation(location: string): number {
|
protected getStaticLootMultiplerForLocation(location: string): number {
|
||||||
return this.locationConfig.staticLootMultiplier[location];
|
return this.locationConfig.staticLootMultiplier[location.toLowerCase()];
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user