From 4d4d91f53bf0ed18a3d968b7de45bf1225521059 Mon Sep 17 00:00:00 2001 From: nezuo Date: Fri, 17 Nov 2023 20:09:25 -0800 Subject: [PATCH] Schedule systems after input --- src/lib.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index ce56973..a982d87 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -8,6 +8,7 @@ use bevy::{ entity::MapEntities, schedule::{ExecutorKind, LogLevel, ScheduleBuildSettings, ScheduleLabel}, }, + input::InputSystem, prelude::*, utils::{Duration, HashMap}, }; @@ -210,7 +211,10 @@ impl Plugin for GgrsPlugin { ..default() }); }) - .add_systems(PreUpdate, schedule_systems::run_ggrs_schedules::) + .add_systems( + PreUpdate, + schedule_systems::run_ggrs_schedules::.after(InputSystem), + ) .add_plugins(( SnapshotSetPlugin, ChecksumPlugin,