Skip to content

Commit

Permalink
Duplicate sound track error: sanitize path
Browse files Browse the repository at this point in the history
Fixes #3777
  • Loading branch information
mattsc committed Jun 30, 2022
1 parent c6c3480 commit 93616a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sound.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -750,7 +750,7 @@ void play_music_config(const config& music_node, bool allow_interrupt_current_tr
}
}
} else {
ERR_AUDIO << "tried to add duplicate track '" << track.file_path() << "'" << std::endl;
ERR_AUDIO << "tried to add duplicate track '" << filesystem::sanitize_path(track.file_path()) << "'" << std::endl;
}

// They can tell us to start playing this list immediately.
Expand Down

0 comments on commit 93616a4

Please sign in to comment.