Move event system closer to state updates.
This commit is contained in:
parent
ba45547038
commit
fe63521737
|
@ -754,6 +754,9 @@ impl Plugin for SynthizerPlugin {
|
|||
update_sound_playback_state.label(SynthizerSystems::UpdateState),
|
||||
)
|
||||
.add_system_to_stage(CoreStage::PostUpdate, remove_sound)
|
||||
.add_system_to_stage(CoreStage::PreUpdate, events);
|
||||
.add_system_to_stage(
|
||||
CoreStage::PostUpdate,
|
||||
events.after(SynthizerSystems::UpdateState),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user