diff --git a/DepotDownloader/ContentDownloader.cs b/DepotDownloader/ContentDownloader.cs index b8c5b1b4..77943f56 100644 --- a/DepotDownloader/ContentDownloader.cs +++ b/DepotDownloader/ContentDownloader.cs @@ -544,7 +544,7 @@ namespace DepotDownloader { string download_path = Path.Combine(installDir, file.FileName); - if (file.TotalSize == 0) // directory + if (file.Flags.HasFlag(EDepotFileFlag.Directory)) { if (!Directory.Exists(download_path)) Directory.CreateDirectory(download_path);