Run visibility systems more often.
This commit is contained in:
parent
cc42081733
commit
3f8636a639
|
@ -408,7 +408,7 @@ impl Plugin for VisibilityPlugin {
|
||||||
.add_system_to_stage(CoreStage::PostUpdate, viewshed_removed.system())
|
.add_system_to_stage(CoreStage::PostUpdate, viewshed_removed.system())
|
||||||
.add_system_set(
|
.add_system_set(
|
||||||
SystemSet::new()
|
SystemSet::new()
|
||||||
.with_run_criteria(FixedTimestep::step(0.2))
|
.with_run_criteria(FixedTimestep::step(0.1))
|
||||||
.with_system(update_viewshed.system()),
|
.with_system(update_viewshed.system()),
|
||||||
)
|
)
|
||||||
.add_system_to_stage(CoreStage::PostUpdate, remove_visible.system())
|
.add_system_to_stage(CoreStage::PostUpdate, remove_visible.system())
|
||||||
|
|
Loading…
Reference in New Issue
Block a user