mirror of
https://github.com/bevyengine/bevy
synced 2024-11-22 04:33:37 +00:00
Make time_system public (#13879)
# Objective If `time_system` isn't public you cannot order systems relative to it in the `TimeSystem` set. ## Solution Make it public
This commit is contained in:
parent
90894a1910
commit
cde610577d
1 changed files with 1 additions and 1 deletions
|
@ -110,7 +110,7 @@ pub fn create_time_channels() -> (TimeSender, TimeReceiver) {
|
|||
|
||||
/// The system used to update the [`Time`] used by app logic. If there is a render world the time is
|
||||
/// sent from there to this system through channels. Otherwise the time is updated in this system.
|
||||
fn time_system(
|
||||
pub fn time_system(
|
||||
mut real_time: ResMut<Time<Real>>,
|
||||
mut virtual_time: ResMut<Time<Virtual>>,
|
||||
mut time: ResMut<Time>,
|
||||
|
|
Loading…
Reference in a new issue