Remove bad cache hit check.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
66dcd7cb00
commit
38564fbebe
|
@ -327,11 +327,6 @@ fn update_viewshed<D: 'static + Clone + Default + Send + Sync>(
|
|||
&& (viewer_coordinates.distance(&coordinates) <= viewshed.range as f32
|
||||
|| visible_entities.contains(&entity))
|
||||
{
|
||||
if let Some(last_coords) = last_coordinates {
|
||||
if **last_coords == coordinates_i32 {
|
||||
continue;
|
||||
}
|
||||
}
|
||||
to_update.insert(viewer_entity);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user