fix(event): show Spring Seasonal Shop on Valentines

This commit is contained in:
Kalista Payne
2026-02-10 17:07:47 -06:00
parent 5dd9711413
commit 1b68e6d4d3

View File

@@ -498,8 +498,13 @@ export default {
await this.triggerGetWorldState();
this.currentEvent = _find(this.currentEventList, event => Boolean(event.season));
this.imageURLs.background = `url(/static/npc/${this.currentEvent.season}/seasonal_shop_opened_background.png)`;
this.imageURLs.npc = `url(/static/npc/${this.currentEvent.season}/seasonal_shop_opened_npc.png)`;
if (this.currentEvent.season === 'valentines') {
this.imageURLs.background = `url(/static/npc/spring/seasonal_shop_opened_background.png)`;
this.imageURLs.npc = `url(/static/npc/spring/seasonal_shop_opened_npc.png)`;
} else {
this.imageURLs.background = `url(/static/npc/${this.currentEvent.season}/seasonal_shop_opened_background.png)`;
this.imageURLs.npc = `url(/static/npc/${this.currentEvent.season}/seasonal_shop_opened_npc.png)`;
}
},
beforeDestroy () {
this.$root.$off('buyModal::boughtItem');