fn update_state_text(
text: Single<'_, '_, &mut Text, With<StateText>>,
current_dir: If<Res<'_, CurrentPlacingDir>>,
valid: Option<Res<'_, State<PlacedTrainState>>>,
)fn update_state_text(
text: Single<'_, '_, &mut Text, With<StateText>>,
current_dir: If<Res<'_, CurrentPlacingDir>>,
valid: Option<Res<'_, State<PlacedTrainState>>>,
)