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/with_sole.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ecs/examples/with_sole.rs') diff --git a/ecs/examples/with_sole.rs b/ecs/examples/with_sole.rs index a387bea..6dec271 100644 --- a/ecs/examples/with_sole.rs +++ b/ecs/examples/with_sole.rs @@ -53,6 +53,8 @@ fn main() world.add_sole(AmmoCounter::default()).unwrap(); + world.prepare(); + world.emit(EventA); world.emit(EventB); -- cgit v1.2.3-18-g5258