Fix checksum error
This commit is contained in:
parent
edeb899f9c
commit
300c7b2105
@ -56,10 +56,15 @@ impl NetworkManager {
|
|||||||
message: match reason {
|
message: match reason {
|
||||||
teanet::package::CloseReason::InvalidIdentifier(ident) => {
|
teanet::package::CloseReason::InvalidIdentifier(ident) => {
|
||||||
format!(
|
format!(
|
||||||
"Checksum mismatch: {} != {}",
|
"Checksum mismatch:\n{} != {}",
|
||||||
ident.chars().take(6).collect::<String>(),
|
ident
|
||||||
|
.chars()
|
||||||
|
.skip("skullball@".len())
|
||||||
|
.take(6)
|
||||||
|
.collect::<String>(),
|
||||||
NetworkManager::identifier()
|
NetworkManager::identifier()
|
||||||
.chars()
|
.chars()
|
||||||
|
.skip("skullball@".len())
|
||||||
.take(6)
|
.take(6)
|
||||||
.collect::<String>()
|
.collect::<String>()
|
||||||
)
|
)
|
||||||
|
|||||||
@ -249,7 +249,6 @@ impl MainMenu {
|
|||||||
|
|
||||||
#[func]
|
#[func]
|
||||||
pub fn go_to_host_game(&mut self) {
|
pub fn go_to_host_game(&mut self) {
|
||||||
godot_print!("what?");
|
|
||||||
self.current_menu = Menu::HostMenu;
|
self.current_menu = Menu::HostMenu;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user