Skip to content

Commit f7fa39d

Browse files
committed
Hide update extract progress window before exiting
1 parent c3bbc55 commit f7fa39d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Client/loader/Install.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -929,14 +929,14 @@ SString CheckOnRestartCommand()
929929
success = ShellExecuteBlocking("open", strFile, strParameters.SplitRight("###"));
930930
}
931931

932+
// Stop progress bar
933+
StopPseudoProgress();
934+
932935
if (!success)
933936
return "FileError3";
934937

935938
deleteSourceRoot.Release();
936939

937-
// Stop progress bar
938-
StopPseudoProgress();
939-
940940
// If a new "Multi Theft Auto.exe" exists, let that complete the install
941941
if (FileExists(MTA_EXE_NAME_RELEASE))
942942
return "install from far " + strOperation + " " + strParameters;

0 commit comments

Comments
 (0)