diff options
author | HampusM <hampus@hampusmat.com> | 2025-08-06 14:14:58 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2025-08-06 14:14:58 +0200 |
commit | 2d1cf05abb72699d38a7c7db7e131922252e1fc1 (patch) | |
tree | 98158913fa3d1482358a21426bcbbf4312afe02f /ecs/src/actions.rs | |
parent | 43cbd47900d23801c584def1b7877fdea700c23a (diff) |
revert(ecs): make component removals not queryable
This reverts commit 43cbd47900d23801c584def1b7877fdea700c23a.
Diffstat (limited to 'ecs/src/actions.rs')
-rw-r--r-- | ecs/src/actions.rs | 4 |
1 files changed, 2 insertions, 2 deletions
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, |