Skip to content

make sure dungeons's SongManager updates song with each dungeon#1632

Merged
Interkarma merged 1 commit intoInterkarma:masterfrom
petchema:songmanager-dungeon-fix
Dec 8, 2019
Merged

make sure dungeons's SongManager updates song with each dungeon#1632
Interkarma merged 1 commit intoInterkarma:masterfrom
petchema:songmanager-dungeon-fix

Conversation

@petchema
Copy link
Copy Markdown
Collaborator

@petchema petchema commented Dec 1, 2019

Use OnTransitionDungeonInterior to update song based on dungeon.

I don't expect we'll switch to full event-driven SongManager immediately, as song selection depends on many factors...

Forums: https://forums.dfworkshop.net/viewtopic.php?f=24&t=3059

Use OnTransitionDungeonInterior to update song based on dungeon.

I don't expect we'll switch to full event-driven SongManager
immediately, as song selection depends on many factors...

Forums: https://forums.dfworkshop.net/viewtopic.php?f=24&t=3059
@petchema petchema added the bug label Dec 1, 2019
@petchema
Copy link
Copy Markdown
Collaborator Author

petchema commented Dec 1, 2019

OnTransitionDungeonInterior seems to be sufficient for game (re)loading updates

@Interkarma
Copy link
Copy Markdown
Owner

This is a nice change all around. Not only fixes the initial problem, but makes the code a bit more readable too. Well done!

@Interkarma Interkarma merged commit de52296 into Interkarma:master Dec 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants