diff --git a/examples/simple.rs b/examples/simple.rs index 3d2a1adc62..7e0b53de10 100644 --- a/examples/simple.rs +++ b/examples/simple.rs @@ -2,9 +2,9 @@ use bevy::*; use bevy::{render::*, asset::{Asset, AssetStorage, Handle}, math, Schedulable}; use rand::{rngs::StdRng, Rng, SeedableRng, random}; -fn build_wander_system(world: &mut World) -> Box { +fn build_wander_system() -> Box { let mut rng = StdRng::from_entropy(); - + SystemBuilder::new("Wander") .read_resource::