Code Cleanup

This commit is contained in:
Brett Hewitson 2022-08-07 19:56:46 +10:00
parent 097acdd2a9
commit fb115e9c5b
2 changed files with 4 additions and 2 deletions

View file

@ -589,7 +589,8 @@ namespace ServerManagerTool
}
// <data folder>\SteamCMD\steamapps\workshop\content\<app id>
var workshopPath = string.Format(Config.Default.AppSteamWorkshopFolderRelativePath, this.Settings.UseTestlive ? Config.Default.AppId_Testlive : Config.Default.AppId);
var appId = this.Settings.UseTestlive ? Config.Default.AppId_Testlive : Config.Default.AppId;
var workshopPath = string.Format(Config.Default.AppSteamWorkshopFolderRelativePath, appId);
folder = Path.Combine(Config.Default.DataPath, CommonConfig.Default.SteamCmdRelativePath, workshopPath);
if (Directory.Exists(folder))
{