outfrost / ld48

Planet LD48B: a Ludum Dare 48 game
https://ldjam.com/events/ludum-dare/48/planet-ld48b
1 stars 1 forks source link

Fix combat music playing when enemies dead #24

Closed outfrost closed 3 years ago

outfrost commented 3 years ago

Combat music keeps playing when there are no enemies left in the area.

666Savior commented 3 years ago

Added enemies_alive to enemy controllers. Once count reaches 0, changes track back to exploration and prevents area from change music to combat music