mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-15 23:20:36 +01:00
Core/Events: Fixed logic for Fireworks Show at New Years Adjustments
591fba5810
This commit is contained in:
@@ -801,7 +801,7 @@ public:
|
||||
localtime_r(&time, &localTm);
|
||||
|
||||
// Start
|
||||
if ((localTm.tm_min == 0 && localTm.tm_sec == 0 && !_started) && (IsHolidayActive(HOLIDAY_FIREWORKS_SPECTACULAR) || IsEventActive(GAME_EVENT_NEW_YEAR)))
|
||||
if ((localTm.tm_min == 0 && localTm.tm_sec == 0) && !_started && (IsHolidayActive(HOLIDAY_FIREWORKS_SPECTACULAR) || IsEventActive(GAME_EVENT_NEW_YEAR)))
|
||||
{
|
||||
_events.ScheduleEvent(EVENT_CHEER, Seconds(1));
|
||||
_events.ScheduleEvent(EVENT_FIRE, Seconds(1));
|
||||
|
||||
Reference in New Issue
Block a user