From 6ffa9d1ba8fda10db7f54dbc96ec3e70403214b6 Mon Sep 17 00:00:00 2001 From: Dev Date: Fri, 13 Sep 2024 22:39:22 +0100 Subject: [PATCH] Fixed loot generation breaking due to map capitalisation --- project/src/generators/LocationLootGenerator.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/project/src/generators/LocationLootGenerator.ts b/project/src/generators/LocationLootGenerator.ts index a47ffa0c..460d8969 100644 --- a/project/src/generators/LocationLootGenerator.ts +++ b/project/src/generators/LocationLootGenerator.ts @@ -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()]; } /**