Merge pull request #1788 from DarkflameUniverse/1770-Kraken-audio-plays-after-shooting-gallery-match

fix: kraken audio plays after shooting gallery match
This commit is contained in:
Gie "Max" Vanommeslaeghe 2025-05-04 17:33:31 +02:00 committed by GitHub
commit 89678c4a05
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -612,7 +612,7 @@ void SGCannon::StopGame(Entity* self, bool cancel) {
// Destroy all spawners
for (auto* entity : Game::entityManager->GetEntitiesInGroup("SGEnemy")) {
entity->Kill();
entity->Smash(LWOOBJID_EMPTY, eKillType::SILENT);
}
ResetVars(self);