summaryrefslogtreecommitdiff
path: root/ecs/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ecs/src/lib.rs')
-rw-r--r--ecs/src/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/ecs/src/lib.rs b/ecs/src/lib.rs
index 1f745b9..a33d72e 100644
--- a/ecs/src/lib.rs
+++ b/ecs/src/lib.rs
@@ -210,9 +210,9 @@ impl World
for system_index in system_indices {
let system = self.systems.get(*system_index).unwrap();
- // SAFETY: The world data lives long enough
+ // SAFETY: The world lives long enough
unsafe {
- system.run(&self.data);
+ system.run(&self);
}
}
}