mirror of
https://github.com/HarbourMasters/Shipwright
synced 2026-07-05 13:44:19 -04:00
8602c6d154
In EnTest_Destroy, the check for nearby Stalfos uses Actor_FindNearby which includes killed actors (update == NULL) still in the linked list. When multiple Stalfos die in the same frame or in quick succession, the last one to be destroyed still sees the others in the actor list and skips the BGM restore call (func_800F5B58). Replace Actor_FindNearby with a custom check that only counts living actors (update != NULL). This ensures the miniboss BGM is properly restored to the dungeon theme when the last Stalfos in a group is defeated. Co-authored-by: serprex <159546+serprex@users.noreply.github.com>