Skip to content

Commit

Permalink
fix(Scripts/FireworkShow): set firework gameobjects active (azerothco…
Browse files Browse the repository at this point in the history
…re#19403)

- improve visibility of the show
- prevent glitches in the show execution
- each gameobject only exists for a very short duration, so there
  should be no relevant performance impacts
  • Loading branch information
sudlud authored Jul 19, 2024
1 parent cef6423 commit 4b506a8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/server/scripts/Events/firework_show/firework_show.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ struct go_firework_show : public GameObjectAI
// trigger despawn animation for firework explosion
if (go)
{
go->setActive(true);
go->DespawnOrUnsummon();
go->AddObjectToRemoveList();
}
Expand Down

0 comments on commit 4b506a8

Please sign in to comment.