diff --git a/UnitystationLauncher/ViewModels/LauncherViewModel.cs b/UnitystationLauncher/ViewModels/LauncherViewModel.cs index 416c136..3367c28 100644 --- a/UnitystationLauncher/ViewModels/LauncherViewModel.cs +++ b/UnitystationLauncher/ViewModels/LauncherViewModel.cs @@ -73,7 +73,7 @@ public LauncherViewModel( SelectedPanel = serversPanel; RxApp.MainThreadScheduler.ScheduleAsync((_, _) => ValidateClientVersionAsync()); - RxApp.MainThreadScheduler.ScheduleAsync((_, _) => StartTTSIfInstalled()); + RxApp.MainThreadScheduler.Schedule((_) => StartTTSIfInstalled()); } @@ -108,7 +108,7 @@ private static PanelBase[] GetEnabledPanels( return panelBases.ToArray(); } - private async Task StartTTSIfInstalled() + private void StartTTSIfInstalled() { _ITTSService.StartTTS(); }