From b56f0cfeebaa97ce8d3b60c737f557fb874d8be9 Mon Sep 17 00:00:00 2001 From: Sabe Jones Date: Tue, 22 Dec 2020 09:14:00 -0600 Subject: [PATCH] fix(content): auto rollout of potion didn't work? --- website/common/script/content/hatching-potions.js | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/website/common/script/content/hatching-potions.js b/website/common/script/content/hatching-potions.js index a1de7771eb..92c34f1084 100644 --- a/website/common/script/content/hatching-potions.js +++ b/website/common/script/content/hatching-potions.js @@ -410,10 +410,7 @@ const premium = { canBuy: hasQuestAchievementFunction('blackPearl'), _addlNotes: t('premiumPotionUnlimitedNotes'), }, -}; - -if (moment().isAfter('2020-12-22T08:00-04:00')) { - premium.StainedGlass = { + StainedGlass: { value: 2, text: t('hatchingPotionStainedGlass'), limited: true, @@ -424,8 +421,8 @@ if (moment().isAfter('2020-12-22T08:00-04:00')) { canBuy () { return moment().isBetween('2020-12-22T08:00-04:00', '2021-01-31T20:00-04:00'); }, - }; -} + }, +}; const wacky = { Veggie: {