generated from tipragot/rust
Add a single background color #76
|
@ -12,4 +12,4 @@ fn main() {
|
||||||
.add_plugins(RendererPlugin)
|
.add_plugins(RendererPlugin)
|
||||||
.add_plugins(CameraPlugin)
|
.add_plugins(CameraPlugin)
|
||||||
.run();
|
.run();
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,7 +15,7 @@ impl Plugin for RendererPlugin {
|
||||||
Update,
|
Update,
|
||||||
render_map.run_if(in_state(crate::CurrentScene::Game)),
|
render_map.run_if(in_state(crate::CurrentScene::Game)),
|
||||||
)
|
)
|
||||||
.insert_resource(ClearColor(Color::rgb_u8(129,212,250)));
|
.insert_resource(ClearColor(Color::rgb_u8(129, 212, 250)));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue