summaryrefslogtreecommitdiff
path: root/ecs/src/pair.rs
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2025-06-07 20:23:34 +0200
committerHampusM <hampus@hampusmat.com>2025-06-07 20:23:34 +0200
commitaeed1b1ff3e34fe719a2f7e6097584b99a673ded (patch)
tree98158913fa3d1482358a21426bcbbf4312afe02f /ecs/src/pair.rs
parentcaf56d34449b471169b7c71eddabad230449dfe3 (diff)
refactor(ecs): make entity::Handle not hold world reference
Diffstat (limited to 'ecs/src/pair.rs')
-rw-r--r--ecs/src/pair.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ecs/src/pair.rs b/ecs/src/pair.rs
index 2055d5e..4ff4995 100644
--- a/ecs/src/pair.rs
+++ b/ecs/src/pair.rs
@@ -140,7 +140,7 @@ impl Handle<'_>
unreachable!();
};
- Some(EntityHandle::new(self.world, archetype, archetype_entity))
+ Some(EntityHandle::new(archetype, archetype_entity))
}
}