diff --git a/src/widgets.rs b/src/widgets.rs index e6fc026..15af5b0 100644 --- a/src/widgets.rs +++ b/src/widgets.rs @@ -162,7 +162,8 @@ fn spawn_menu(mut commands: Commands) { }); } -fn spawn_get_ready(mut commands: Commands) { +fn spawn_get_ready(mut commands: Commands, mut timer: ResMut) { + timer.reset(); commands.spawn(( OnReadySetGo, // marker, so this can be de-spawned properly Node {