fix(events): Spring Fling lingering

This commit is contained in:
Sabe Jones
2020-05-11 14:02:10 -05:00
parent a3b59d9254
commit 6658abbcd9
2 changed files with 4 additions and 1 deletions

View File

@@ -39,7 +39,7 @@ export const EVENTS = {
summer2019: { start: '2019-06-18', end: '2019-08-02' },
fall2019: { start: '2019-09-24', end: '2019-11-02' },
winter2020: { start: '2019-12-19', end: '2020-02-02' },
spring2020: { start: '2019-03-17', end: '2020-05-02' },
spring2020: { start: '2020-03-17', end: '2020-05-02' },
};
export const SEASONAL_SETS = {

View File

@@ -3621,6 +3621,9 @@ each(quests, (v, key) => {
defaults(v, {
key,
canBuy () {
if (v.event) {
return moment().isBetween(v.event.start, v.event.end);
}
return true;
},
});