mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-05-19 20:28:53 +00:00
fix(event): Cake in shops and drops
This commit is contained in:
parent
b63dcf74ca
commit
03794f292d
1 changed files with 2 additions and 2 deletions
|
|
@ -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: {
|
||||
|
|
|
|||
Loading…
Reference in a new issue