correcting issue
Some checks failed
Rust Checks / checks (push) Failing after 5s

This commit is contained in:
Raphaël 2024-03-10 19:41:43 +01:00
parent ba953a4fde
commit ced2db583a

View file

@ -33,7 +33,6 @@ struct MenuEntity;
/// Display the UI of the menu to host a game or join one.
fn menu_ui(mut commands: Commands, asset_server: Res<AssetServer>) {
commands.spawn(Camera2dBundle::default());
commands
.spawn(NodeBundle {
@ -237,7 +236,7 @@ fn main_node(main_node: &mut ChildBuilder<'_, '_, '_>, asset_server: &Res<AssetS
})
.insert(MenuEntity);
create_button(
CurrentScene::Lobby,
CurrentScene::Game,
join,
HoveredTexture {
texture: asset_server.load("join.png"),