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