fix(Scripts/FireworkShow): set firework gameobjects active (#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
This commit is contained in:
sudlud
2024-07-19 17:08:46 +02:00
committed by GitHub
parent cef6423bd8
commit 4b506a8cdd

View File

@@ -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();
}