From 03794f292dee7ceae64a57f2ce9eca3e02cf9ccf Mon Sep 17 00:00:00 2001 From: Sabe Jones Date: Thu, 28 Jan 2021 16:59:43 -0600 Subject: [PATCH] fix(event): Cake in shops and drops --- website/common/script/content/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/common/script/content/index.js b/website/common/script/content/index.js index f038f2b847..fcaed3e651 100644 --- a/website/common/script/content/index.js +++ b/website/common/script/content/index.js @@ -1,4 +1,4 @@ -import defaults from 'lodash/defaults'; + import defaults from 'lodash/defaults'; import each from 'lodash/each'; import moment from 'moment'; import t from './translation'; @@ -185,7 +185,7 @@ api.specialMounts = stable.specialMounts; api.mountInfo = stable.mountInfo; // For seasonal events, change this constant: -const FOOD_SEASON = 'Normal'; +const FOOD_SEASON = moment().isBefore('2021-02-02') ? 'Cake' : 'Normal'; api.food = { Meat: {