Remove debug prints

This commit is contained in:
Dr. Dystopia 2021-12-15 20:56:44 +01:00
parent 8b258e4e81
commit e2f4499d45
2 changed files with 0 additions and 4 deletions

View File

@ -127,7 +127,6 @@ impl PlayState for CharSelectionState {
self.client
.borrow_mut()
.edit_character(alias, character_id, body);
println!("Event::EditCharacter");
},
ui::Event::DeleteCharacter(character_id) => {
self.client.borrow_mut().delete_character(character_id);

View File

@ -225,7 +225,6 @@ impl Mode {
}
pub fn edit(name: String, character_id: CharacterId, body: humanoid::Body) -> Self {
println!("Begin edit");
// TODO: Load these from the server (presumably from a .ron) to allow for easier
// modification of custom starting weapons
let mainhand = Some(STARTER_SWORD);
@ -1411,7 +1410,6 @@ impl Controls {
if let comp::Body::Humanoid(body) = character.body {
if let Some(id) = character.character.id {
self.mode = Mode::edit(character.character.alias.clone(), id, body);
println!("Message::Edit");
}
}
}
@ -1448,7 +1446,6 @@ impl Controls {
body: comp::Body::Humanoid(*body),
});
self.mode = Mode::select(Some(InfoContent::EditingCharacter));
println!("Message::ConfirmEdit");
}
},
Message::Name(value) => {