summaryrefslogtreecommitdiff
path: root/ecs/src/lib.rs
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2024-04-06 16:30:58 +0200
committerHampusM <hampus@hampusmat.com>2024-04-06 16:30:58 +0200
commitc0fbe4b3790c771836b1723a81a2290d9796f429 (patch)
tree342a6f965b48e7473b467f23aff5e768b864b0cf /ecs/src/lib.rs
parent6038a5b701ee9ea3bd3b5da50d7d06930cd9a270 (diff)
feat(ecs): add weak reference actions
Diffstat (limited to 'ecs/src/lib.rs')
-rw-r--r--ecs/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ecs/src/lib.rs b/ecs/src/lib.rs
index 1c4e44f..a2fc36e 100644
--- a/ecs/src/lib.rs
+++ b/ecs/src/lib.rs
@@ -211,7 +211,7 @@ pub struct WorldData
{
events: HashMap<EventId, Vec<usize>>,
component_storage: Arc<Lock<ComponentStorage>>,
- action_queue: Lock<ActionQueue>,
+ action_queue: Arc<Lock<ActionQueue>>,
}
#[derive(Debug, Default)]