Run visibility systems more often.

This commit is contained in:
Nolan Darilek 2021-12-20 08:41:33 -06:00
parent cc42081733
commit 3f8636a639

View File

@ -408,7 +408,7 @@ impl Plugin for VisibilityPlugin {
.add_system_to_stage(CoreStage::PostUpdate, viewshed_removed.system())
.add_system_set(
SystemSet::new()
.with_run_criteria(FixedTimestep::step(0.2))
.with_run_criteria(FixedTimestep::step(0.1))
.with_system(update_viewshed.system()),
)
.add_system_to_stage(CoreStage::PostUpdate, remove_visible.system())