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:
Kristoffer Søholm 2024-06-16 20:07:41 +02:00 committed by GitHub
parent 90894a1910
commit cde610577d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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>,