Remove unneeded logging
This commit is contained in:
parent
a695f52ca1
commit
b2ffb9a248
@ -100,20 +100,15 @@ impl<R: Rng, P: Position, S: Storage<P>, W: Walker<P>, Sp: Spawner<P>, St: Stick
|
||||
let distance = next_position.abs();
|
||||
|
||||
if distance > self.kill_circle {
|
||||
println!("HE");
|
||||
self.active_particle = None;
|
||||
} else if !self.space.is_occupied(&next_position) {
|
||||
if self.sticker.should_stick(&mut self.rng, &self.space, &next_position) {
|
||||
println!("STY");
|
||||
self.deposit(&next_position);
|
||||
self.active_particle = None;
|
||||
return;
|
||||
} else {
|
||||
println!("MV");
|
||||
self.active_particle.replace(next_position);
|
||||
}
|
||||
} else {
|
||||
println!("Err");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user