Remove a couple of unnecessary full paths (#3699)
This commit is contained in:
parent
e30199f7a9
commit
758fc5af67
@ -56,7 +56,7 @@ mod splash {
|
|||||||
pub struct SplashPlugin;
|
pub struct SplashPlugin;
|
||||||
|
|
||||||
impl Plugin for SplashPlugin {
|
impl Plugin for SplashPlugin {
|
||||||
fn build(&self, app: &mut bevy::prelude::App) {
|
fn build(&self, app: &mut App) {
|
||||||
// As this plugin is managing the splash screen, it will focus on the state `GameState::Splash`
|
// As this plugin is managing the splash screen, it will focus on the state `GameState::Splash`
|
||||||
app
|
app
|
||||||
// When entering the state, spawn everything needed for this screen
|
// When entering the state, spawn everything needed for this screen
|
||||||
@ -245,7 +245,7 @@ mod menu {
|
|||||||
pub struct MenuPlugin;
|
pub struct MenuPlugin;
|
||||||
|
|
||||||
impl Plugin for MenuPlugin {
|
impl Plugin for MenuPlugin {
|
||||||
fn build(&self, app: &mut bevy::prelude::App) {
|
fn build(&self, app: &mut App) {
|
||||||
app
|
app
|
||||||
// At start, the menu is not enabled. This will be changed in `menu_setup` when
|
// At start, the menu is not enabled. This will be changed in `menu_setup` when
|
||||||
// entering the `GameState::Menu` state.
|
// entering the `GameState::Menu` state.
|
||||||
|
Loading…
Reference in New Issue
Block a user