sound effects of reloading
This commit is contained in:
@@ -6,6 +6,7 @@ use crate::{
|
||||
heads::ActiveHeads,
|
||||
npc::Hit,
|
||||
player::{Player, PlayerRig},
|
||||
sounds::PlaySound,
|
||||
tb_entities::EnemySpawn,
|
||||
};
|
||||
use avian3d::prelude::*;
|
||||
@@ -90,7 +91,7 @@ fn on_trigger_state(
|
||||
};
|
||||
|
||||
if !state.has_ammo() {
|
||||
//TOOD: play sound
|
||||
commands.trigger(PlaySound::Invalid);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user