some more names for debugging

This commit is contained in:
2025-04-07 17:14:40 +02:00
parent a976072ebd
commit 92da1587ba
5 changed files with 15 additions and 8 deletions

View File

@@ -201,6 +201,7 @@ fn steam_system(steam_client: Res<SteamworksClient>) {
fn music(assets: Res<AudioAssets>, mut commands: Commands) {
commands.spawn((
Name::new("sfx-music"),
AudioPlayer::new(assets.music.clone()),
PlaybackSettings {
mode: PlaybackMode::Loop,
@@ -210,6 +211,7 @@ fn music(assets: Res<AudioAssets>, mut commands: Commands) {
));
commands.spawn((
Name::new("sfx-ambient"),
AudioPlayer::new(assets.ambient.clone()),
PlaybackSettings {
mode: PlaybackMode::Loop,