Fix fmt
All checks were successful
Rust Checks / checks (push) Successful in 2m22s
Rust Checks / checks (pull_request) Successful in 1m51s

This commit is contained in:
CoCo_Sol 2024-02-10 10:04:03 +01:00
parent a9d5451787
commit c6b2299ff1

View file

@ -1,7 +1,7 @@
//! The lobby menu of the game.
use bevy::prelude::*;
use bevy_egui::{EguiContexts, egui};
use bevy_egui::{egui, EguiContexts};
use crate::GameState;
@ -18,10 +18,7 @@ impl Plugin for LobbyPlugin {
}
/// Display the UI of the menu to host a game or join one.
fn lobby_ui(
mut ctx: EguiContexts,
mut next_state: ResMut<NextState<GameState>>,
) {
fn lobby_ui(mut ctx: EguiContexts, mut next_state: ResMut<NextState<GameState>>) {
egui::CentralPanel::default().show(ctx.ctx_mut(), |ui| {
ui.heading("Border Wars");