Run visibility systems more often.

This commit is contained in:
Nolan Darilek 2022-01-27 08:10:45 -06:00
parent 7d179b45f7
commit 7b1aaf69a2

View File

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