Fixed loot generation breaking due to map capitalisation

This commit is contained in:
Dev 2024-09-13 22:39:22 +01:00
parent 1d55075f99
commit 6ffa9d1ba8

View File

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