generated from tipragot/rust
parent
6b2c00614e
commit
3f67e97c4b
|
@ -30,7 +30,7 @@ fn create_players(
|
||||||
) {
|
) {
|
||||||
all_players
|
all_players
|
||||||
.0
|
.0
|
||||||
.insert((*name.0).to_string(), *uuid.identifier().unwrap());
|
.insert((*name.0).to_string(), uuid.identifier().unwrap());
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Display the UI of the lobby.
|
/// Display the UI of the lobby.
|
||||||
|
|
|
@ -5,7 +5,7 @@ use bevy::prelude::*;
|
||||||
use bevy_egui::{egui, EguiContexts};
|
use bevy_egui::{egui, EguiContexts};
|
||||||
|
|
||||||
use crate::connection::RequestConnection;
|
use crate::connection::RequestConnection;
|
||||||
use crate::{CurrentScene, PlayerName};
|
use crate::{CurrentScene, CurrentScene, PlayerName, PlayerName};
|
||||||
|
|
||||||
type Name = String;
|
type Name = String;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue