Skip to content

Commit

Permalink
Don't check for mods if game folder is no longer found
Browse files Browse the repository at this point in the history
  • Loading branch information
Sora-yx committed Oct 10, 2024
1 parent 267672e commit c424659
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions SA-Mod-Manager/UI/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2179,6 +2179,9 @@ private async Task UpdateChecker_DoWorkForced()

private async Task ExecuteModsUpdateCheck()
{
if (!(Util.IsStringValid(App.CurrentGame.gameDirectory) || File.Exists(Path.Combine(App.CurrentGame.gameDirectory, App.CurrentGame.exeName))))
return;

try
{
ClearUpdateFolder();
Expand Down

0 comments on commit c424659

Please sign in to comment.