summaryrefslogtreecommitdiff
path: root/ecs/examples/extension.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ecs/examples/extension.rs')
-rw-r--r--ecs/examples/extension.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/ecs/examples/extension.rs b/ecs/examples/extension.rs
index 2022b05..97c57a6 100644
--- a/ecs/examples/extension.rs
+++ b/ecs/examples/extension.rs
@@ -69,6 +69,8 @@ fn main()
world.add_extension(EnemySpawningExtension);
+ world.prepare();
+
for _ in 0..7 {
world.emit(Update);