summaryrefslogtreecommitdiff
path: root/ecs/examples/optional_component.rs
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2024-08-10 18:50:45 +0200
committerHampusM <hampus@hampusmat.com>2024-08-10 20:56:39 +0200
commit93f764e1003bb6f35b56b7b91a73ae0ca80282c9 (patch)
tree1765bd3ba2e61783e3477211eb84550726e0b7d9 /ecs/examples/optional_component.rs
parentb4be1c1e9a7e69a86a5aa9be6699847edc2c8d0f (diff)
refactor(ecs): create archetype lookup entries on-the-go
Diffstat (limited to 'ecs/examples/optional_component.rs')
-rw-r--r--ecs/examples/optional_component.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/ecs/examples/optional_component.rs b/ecs/examples/optional_component.rs
index cd0679b..e47bf2e 100644
--- a/ecs/examples/optional_component.rs
+++ b/ecs/examples/optional_component.rs
@@ -82,7 +82,5 @@ fn main()
Aggressivity::Low,
));
- world.prepare();
-
world.emit(PettingTime);
}