Skip to content

Commit

Permalink
fix stopallmusic
Browse files Browse the repository at this point in the history
  • Loading branch information
matcool authored Nov 13, 2024
1 parent 5b89c12 commit c196f99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PackManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ void PackManager::updateAppliedPacks() {

void PackManager::applyPacks(CreateLayerFunc func) {
this->updateAppliedPacks();
FMODAudioEngine::sharedEngine()->stopAllMusic();
FMODAudioEngine::sharedEngine()->stopAllMusic(true);
reloadTextures(std::move(func));
}

Expand Down

0 comments on commit c196f99

Please sign in to comment.