some more names for debugging
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user