1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-10 01:22:25 +01:00

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

View File

@@ -153,7 +153,7 @@
if (!String.IsNullOrEmpty(CheckFile)) if (!String.IsNullOrEmpty(CheckFile))
{ {
string checkSha1 = GetSha1FromCheckFile(CheckFile, Name); 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)); Log.LogMessage(MessageImportance.Normal, String.Format("{0} up to date", Name));
return true; return true;