Function jumpy::core::player::delete_dead_ai_swords
source ยท fn delete_dead_ai_swords(
entities: ResMutInit<'_, Entities>,
ai_players: Comp<'_, AiPlayer>,
items: Comp<'_, Item>,
dropped: Comp<'_, ItemDropped>,
)Expand description
System that makes sure the swords held by AI are despawned when they are killed.