This commit is contained in:
parent
0774599ef4
commit
dff59fe9cc
|
@ -199,17 +199,16 @@ where
|
|||
fn build(&self, app: &mut App) {
|
||||
app.insert_resource(self.clone())
|
||||
.register_type::<SoundIcon>()
|
||||
.add_system(added.in_base_set(CoreSet::PreUpdate))
|
||||
.add_systems((added, reset_timer_on_visibility_gain).in_base_set(CoreSet::PreUpdate))
|
||||
.add_systems(
|
||||
(exploration_focus_changed, update::<S>)
|
||||
.chain()
|
||||
.in_base_set(CoreSet::PostUpdate),
|
||||
.in_base_set(CoreSet::PreUpdate),
|
||||
)
|
||||
.add_system(
|
||||
exploration_focus_removed
|
||||
.in_base_set(CoreSet::PostUpdate)
|
||||
.after(exploration_focus_changed),
|
||||
)
|
||||
.add_system(reset_timer_on_visibility_gain.in_base_set(CoreSet::PostUpdate));
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user