diff options
author | Silas Bartha <silas@exvacuum.dev> | 2024-08-04 13:25:13 -0400 |
---|---|---|
committer | Silas Bartha <silas@exvacuum.dev> | 2024-08-04 13:25:13 -0400 |
commit | e9e89ef02f59feef2b7dee7a3110d89358df311e (patch) | |
tree | 6b5153c7eef8fe5f1423640e346fc5a4cd711aaf /README.md | |
parent | 017228ffbd8d034017955a5ad7e833511e4e3b17 (diff) |
Fixed README setup example
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -40,7 +40,10 @@ use bevy_headless_render; fn main() { App::new() .add_plugins(( - DefaultPlugins, + DefaultPlugins + .build() + .disable::<WinitPlugin>(), + ScheduleRunnerPlugin::run_loop(Duration::from_secs_f32(1.0 / TICK_RATE)), bevy_headless_render::HeadlessRenderPlugin, )) .run(); |