From 75caa6d989bfc23d1e3309ec6d2488067b0babd3 Mon Sep 17 00:00:00 2001 From: Dev Date: Thu, 21 Nov 2024 13:16:13 +0000 Subject: [PATCH] Fixed casing issue with `getLocationFromInfectedLocation()` --- project/src/services/SeasonalEventService.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/project/src/services/SeasonalEventService.ts b/project/src/services/SeasonalEventService.ts index 1132f0b1..ffd92aab 100644 --- a/project/src/services/SeasonalEventService.ts +++ b/project/src/services/SeasonalEventService.ts @@ -484,7 +484,7 @@ export class SeasonalEventService { infectionHalloween.Enabled = true; for (const infectedLocationKey in zombieSettings.mapInfectionAmount) { - const mappedLocations = this.getLocationFromInfectedLocation(infectedLocationKey.toLowerCase()); + const mappedLocations = this.getLocationFromInfectedLocation(infectedLocationKey); for (const locationKey of mappedLocations) { this.databaseService.getLocation( @@ -521,7 +521,7 @@ export class SeasonalEventService { return ["factory4_day", "factory4_night"]; } - if (infectedLocationKey === "sandbox") { + if (infectedLocationKey === "Sandbox") { return ["sandbox", "sandbox_high"]; }