diff options
author | HampusM <hampus@hampusmat.com> | 2025-08-20 17:09:08 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2025-08-20 17:09:08 +0200 |
commit | 29ee29b3887773e36fb7ad55ab44392dae7f8412 (patch) | |
tree | 296b1ad0b2f04f0f577e6e5643e27a9222f7cf66 /ecs/src/system/stateful.rs | |
parent | 5c9113431ea22c53cc59324c93ec3dc6efdfe926 (diff) |
feat(ecs): add funcs for getting target comp of wildcard pairs
Diffstat (limited to 'ecs/src/system/stateful.rs')
-rw-r--r-- | ecs/src/system/stateful.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ecs/src/system/stateful.rs b/ecs/src/system/stateful.rs index 54f6979..2ec448c 100644 --- a/ecs/src/system/stateful.rs +++ b/ecs/src/system/stateful.rs @@ -116,7 +116,7 @@ macro_rules! impl_system { .write_nonblock() .expect("Failed to aquire read-write local component lock"); - Some(ComponentHandleMut::new(local_component)) + Some(ComponentHandleMut::new(local_component).unwrap()) } fn set_local_component<LocalComponent: Component>( |