mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-17 02:51:27 +00:00
Implement progress failures
I took the liberty to improve the obvious failure cases where a red progress bar would be useful.
This commit is contained in:
@ -277,7 +277,10 @@ void plResPatcher::Finish(bool success)
|
||||
if (success)
|
||||
PatcherLog(kHeader, "--- Patch Completed Successfully ---");
|
||||
else
|
||||
{
|
||||
PatcherLog(kHeader, "--- Patch Killed by Error ---");
|
||||
fProgress->SetAborting();
|
||||
}
|
||||
|
||||
plResPatcherMsg* pMsg = new plResPatcherMsg(success, sLastError);
|
||||
pMsg->Send(); // whoosh... off it goes
|
||||
|
Reference in New Issue
Block a user