From 3c13cf569d7d65da1d194f559fca3e43b51b724c Mon Sep 17 00:00:00 2001 From: HampusM Date: Mon, 29 Jul 2024 13:44:16 +0200 Subject: docs(ecs): make examples work correctly --- ecs/examples/extension.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ecs/examples/extension.rs') 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); -- cgit v1.2.3-18-g5258