diff --git a/project/assets/database/globals.json b/project/assets/database/globals.json index 25140c05..ca549610 100644 --- a/project/assets/database/globals.json +++ b/project/assets/database/globals.json @@ -23207,7 +23207,7 @@ "Woods": 0, "bigmap": 0, "factory4": 0, - "laboratory": 100 + "laboratory": 0 }, "bot_presets": [ { diff --git a/project/src/services/SeasonalEventService.ts b/project/src/services/SeasonalEventService.ts index 17c96aec..f832785a 100644 --- a/project/src/services/SeasonalEventService.ts +++ b/project/src/services/SeasonalEventService.ts @@ -438,7 +438,9 @@ export class SeasonalEventService { protected configureZombies(zombieSettings: IZombieSettings) { for (const locationKey in zombieSettings.mapInfectionAmount) { - this.databaseService.getLocation(locationKey).base.Events.Halloween2024.InfectionPercentage = + this.databaseService.getLocation(locationKey.toLowerCase()).base.Events.Halloween2024.InfectionPercentage = + zombieSettings.mapInfectionAmount[locationKey]; + this.databaseService.getGlobals().LocationInfection[locationKey] = zombieSettings.mapInfectionAmount[locationKey]; }