Fixed infection rate value not applying
This commit is contained in:
parent
5cc541bc9e
commit
5ed4802d9e
@ -23207,7 +23207,7 @@
|
||||
"Woods": 0,
|
||||
"bigmap": 0,
|
||||
"factory4": 0,
|
||||
"laboratory": 100
|
||||
"laboratory": 0
|
||||
},
|
||||
"bot_presets": [
|
||||
{
|
||||
|
@ -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];
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user