Skip to content

Commit

Permalink
Core/Events: Fixed logic for Fireworks Show at New Years Adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
Kittnz authored and DoctorKraft committed Mar 17, 2018
1 parent 53339c4 commit 88ba95e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/scripts/Events/fireworks_show.cpp
Expand Up @@ -801,7 +801,7 @@ class go_cheer_speaker : public GameObjectScript
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));
Expand Down

0 comments on commit 88ba95e

Please sign in to comment.