0
0
mirror of https://github.com/sp-tarkov/server.git synced 2025-02-12 16:10:43 -05:00

Made SeasonalEventService.cacheActiveEvents() public

This commit is contained in:
Chomp 2024-12-24 09:10:27 +00:00
parent 531dca5f92
commit bb6c4cae6a

View File

@ -236,7 +236,7 @@ export class SeasonalEventService {
/** /**
* Store active events inside class array property `currentlyActiveEvents` + set class properties: christmasEventActive/halloweenEventActive * Store active events inside class array property `currentlyActiveEvents` + set class properties: christmasEventActive/halloweenEventActive
*/ */
protected cacheActiveEvents(): void { public cacheActiveEvents(): void {
const currentDate = new Date(); const currentDate = new Date();
const seasonalEvents = this.getEventDetails(); const seasonalEvents = this.getEventDetails();