From 2d1cf05abb72699d38a7c7db7e131922252e1fc1 Mon Sep 17 00:00:00 2001 From: HampusM Date: Wed, 6 Aug 2025 14:14:58 +0200 Subject: revert(ecs): make component removals not queryable This reverts commit 43cbd47900d23801c584def1b7877fdea700c23a. --- ecs/src/actions.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ecs/src/actions.rs') diff --git a/ecs/src/actions.rs b/ecs/src/actions.rs index 3dd8755..e0efeda 100644 --- a/ecs/src/actions.rs +++ b/ecs/src/actions.rs @@ -23,7 +23,7 @@ impl<'world> Actions<'world> .push(Action::Spawn(components.into_parts_array().into())); } - /// Queues up despawning a entity at the end of the **next** tick. + /// Queues up despawning a entity at the end of the current tick. pub fn despawn(&mut self, entity_uid: Uid) { debug_assert_eq!(entity_uid.kind(), UidKind::Entity); @@ -48,7 +48,7 @@ impl<'world> Actions<'world> )); } - /// Queues up removing component(s) from a entity at the end of the **next** tick. + /// Queues up removing component(s) from a entity at the end of the current tick. pub fn remove_components( &mut self, entity_uid: Uid, -- cgit v1.2.3-18-g5258