This commit is contained in:
2025-05-22 22:21:21 +02:00
parent 16aaf2a961
commit d6b9d5c968
3 changed files with 3 additions and 3 deletions

View File

@@ -15,8 +15,8 @@ pub struct AudioAssets {
pub key_collect: Handle<AudioSource>,
#[asset(path = "sfx/effects/gate.ogg")]
pub gate: Handle<AudioSource>,
#[asset(path = "sfx/effects/cash.ogg")]
pub cash: Handle<AudioSource>,
#[asset(path = "sfx/effects/cash_collect.ogg")]
pub cash_collect: Handle<AudioSource>,
#[asset(path = "sfx/ui/selection.ogg")]
pub selection: Handle<AudioSource>,

View File

@@ -48,7 +48,7 @@ fn on_spawn_sounds(
PlaySound::Gun => assets.gun.clone(),
PlaySound::Crossbow => assets.crossbow.clone(),
PlaySound::Gate => assets.gate.clone(),
PlaySound::CashCollect => assets.cash.clone(),
PlaySound::CashCollect => assets.cash_collect.clone(),
PlaySound::Selection => assets.selection.clone(),
PlaySound::Throw => assets.throw.clone(),
PlaySound::ThrowHit => assets.throw_explosion.clone(),