From 165f3994898dc4b58e931199227c58f3ad283c32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristoffer=20S=C3=B8holm?= Date: Sun, 16 Jun 2024 20:07:41 +0200 Subject: [PATCH] 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 --- crates/bevy_time/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/bevy_time/src/lib.rs b/crates/bevy_time/src/lib.rs index 9b1bfc2e76..086b37471f 100644 --- a/crates/bevy_time/src/lib.rs +++ b/crates/bevy_time/src/lib.rs @@ -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>, mut virtual_time: ResMut>, mut time: ResMut