From e9e89ef02f59feef2b7dee7a3110d89358df311e Mon Sep 17 00:00:00 2001 From: Silas Bartha Date: Sun, 4 Aug 2024 13:25:13 -0400 Subject: Fixed README setup example --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index 561b897..a0f64c5 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,10 @@ use bevy_headless_render; fn main() { App::new() .add_plugins(( - DefaultPlugins, + DefaultPlugins + .build() + .disable::(), + ScheduleRunnerPlugin::run_loop(Duration::from_secs_f32(1.0 / TICK_RATE)), bevy_headless_render::HeadlessRenderPlugin, )) .run(); -- cgit v1.2.3