Redownload dependencies after cleaning build (#10079)

If the dependencies `SHA` did not change, doing `msbuild openrct2.proj /t:clean` and then trying to build again would pop-up an RCT with missing objects, title and replays
This commit is contained in:
Tulio Leao 2019-10-18 12:47:34 -03:00 committed by Michael Steenbeek
parent 2159fd282b
commit a5d654b592
1 changed files with 1 additions and 1 deletions

View File

@ -153,7 +153,7 @@
if (!String.IsNullOrEmpty(CheckFile))
{
string checkSha1 = GetSha1FromCheckFile(CheckFile, Name);
if (String.Equals(checkSha1, Sha1, StringComparison.OrdinalIgnoreCase))
if (String.Equals(checkSha1, Sha1, StringComparison.OrdinalIgnoreCase) && Directory.Exists(OutputDirectory))
{
Log.LogMessage(MessageImportance.Normal, String.Format("{0} up to date", Name));
return true;