Skip to content

Commit

Permalink
Fixed Steam discovery
Browse files Browse the repository at this point in the history
  • Loading branch information
Aragas committed Apr 19, 2024
1 parent 26a5bca commit 09774a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Bannerlord.LauncherManager/Utils/ModulePathProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public IEnumerable<string> GetModulePaths()
var steamApps = installPath.Substring(0, installPath.IndexOf("common", StringComparison.Ordinal));
var workshopDir = Path.Combine(steamApps, "workshop", "content", "261550");

var directories = _handler.ReadDirectoryFileList(workshopDir);
var directories = _handler.ReadDirectoryList(workshopDir);
// Optional
//if (directories is null) throw new DirectoryNotFoundException($"installPath: {installPath}. Steam's Modules directory not found!");
if (directories is null) yield break;
Expand Down

0 comments on commit 09774a2

Please sign in to comment.