Remove logging.

This commit is contained in:
Nolan Darilek 2021-10-01 09:07:15 -05:00
parent e8caa58b08
commit bebcd4f66b

View File

@ -358,12 +358,6 @@ fn exploration_changed_announcement(
Some(&|v| explorable.get(v.entity()).is_ok()), Some(&|v| explorable.get(v.entity()).is_ok()),
|handle| { |handle| {
let entity = handle.entity(); let entity = handle.entity();
println!("Initial: {:?}, {:?}", entity, names.get(entity),);
println!(
"Exploration collided with {:?}, {:?}",
entity,
names.get(entity).map(|v| v.to_string())
);
commands.entity(entity).insert(ExplorationFocused); commands.entity(entity).insert(ExplorationFocused);
if visible || mappables.get(entity).is_ok() { if visible || mappables.get(entity).is_ok() {
if let Ok(name) = names.get(entity) { if let Ok(name) = names.get(entity) {
@ -386,7 +380,6 @@ fn exploration_changed_announcement(
"floor".to_string() "floor".to_string()
} }
} else { } else {
println!("Pre: {:?}", tokens);
tokens.join(": ") tokens.join(": ")
} }
} else { } else {
@ -399,7 +392,6 @@ fn exploration_changed_announcement(
if fog_of_war { if fog_of_war {
tokens.push("in the fog of war".into()); tokens.push("in the fog of war".into());
} }
println!("{:?}", tokens);
tts.speak(format!("{}", tokens.join(", ")), true)?; tts.speak(format!("{}", tokens.join(", ")), true)?;
} }
} }