parent
a04c769438
commit
8b0c59f7c0
1 changed files with 2 additions and 5 deletions
|
@ -1,6 +1,6 @@
|
|||
use std::error::Error;
|
||||
|
||||
use bevy_ecs::{schedule::Schedules, world::World};
|
||||
use bevy_ecs::world::World;
|
||||
|
||||
pub enum AppExit {
|
||||
Success,
|
||||
|
@ -24,11 +24,8 @@ pub struct App {
|
|||
|
||||
impl Default for App {
|
||||
fn default() -> Self {
|
||||
let mut world = World::new();
|
||||
world.init_resource::<Schedules>();
|
||||
|
||||
Self {
|
||||
world,
|
||||
world: World::new(),
|
||||
runner: None,
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue