From 3888acd597f85ef212cdc797c783d86d72a17c4c Mon Sep 17 00:00:00 2001 From: Chomp Date: Fri, 27 Dec 2024 16:02:55 +0000 Subject: [PATCH] Enabled Khorovod tree during christmas --- 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 0b1bf04e..b3c8a4b1 100644 --- a/project/src/services/SeasonalEventService.ts +++ b/project/src/services/SeasonalEventService.ts @@ -760,8 +760,8 @@ export class SeasonalEventService { } const mapData: ILocation = maps[mapName]; - if (mapData?.base?.BotLocationModifier && "KhorovodChance" in mapData.base.BotLocationModifier) { - mapData.base.BotLocationModifier.KhorovodChance = 100; + if (typeof mapData.base.Events.Khorovod?.Chance !== "undefined") { + mapData.base.Events.Khorovod.Chance = 100; } } }