Skip to content

Commit

Permalink
asynchronous
Browse files Browse the repository at this point in the history
  • Loading branch information
Bod9001 committed Dec 12, 2024
1 parent d4a3fc4 commit 54df2ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions UnitystationLauncher/ViewModels/LauncherViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public LauncherViewModel(
SelectedPanel = serversPanel;

RxApp.MainThreadScheduler.ScheduleAsync((_, _) => ValidateClientVersionAsync());
RxApp.MainThreadScheduler.ScheduleAsync((_, _) => StartTTSIfInstalled());
RxApp.MainThreadScheduler.Schedule((_) => StartTTSIfInstalled());

}

Expand Down Expand Up @@ -108,7 +108,7 @@ private static PanelBase[] GetEnabledPanels(
return panelBases.ToArray();
}

private async Task StartTTSIfInstalled()
private void StartTTSIfInstalled()
{
_ITTSService.StartTTS();
}
Expand Down

0 comments on commit 54df2ea

Please sign in to comment.