Log visibility in PostUpdate.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Nolan Darilek 2023-04-04 10:29:05 -05:00
parent 7a5c43b686
commit ea881c0607

View File

@ -445,10 +445,11 @@ impl<MapData: 'static + Clone + Default + Send + Sync> Plugin for VisibilityPlug
add_visibility_indices::<MapData>, add_visibility_indices::<MapData>,
update_viewshed, update_viewshed,
update_revealed_tiles::<MapData>, update_revealed_tiles::<MapData>,
log_visible,
) )
.in_base_set(CoreSet::PreUpdate), .in_base_set(CoreSet::PreUpdate),
) )
.add_systems((viewshed_removed, remove_visible).in_base_set(CoreSet::PostUpdate)); .add_systems(
(log_visible, viewshed_removed, remove_visible).in_base_set(CoreSet::PostUpdate),
);
} }
} }