pub fn remove_components_from_disconnected_players(
commands: Commands<'_, '_>,
events: EventReader<'_, '_, DisconnectEvent>,
loaded_by_query: Query<'_, '_, &mut LoadedBy>,
)
Expand description
A system that removes the several components from our clients when they get
a DisconnectEvent
.