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 authored and Michael Steenbeek committed 2019-10-18 17:47:34 +02:00
1 parent 2159fd282b
commit a5d654b592
1 file changed
+1 -1
+1 -1
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;