Skip to content

Commit 1d10bb6

Browse files
committed
Fix StartGtaProcess reporting an error on success
1 parent 6690e86 commit 1d10bb6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Client/loader/MainFunctions.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1073,6 +1073,7 @@ BOOL StartGtaProcess(const SString& lpApplicationName, const SString& lpCommandL
10731073
}
10741074
lpProcessInformation->dwProcessId = pid;
10751075
lpProcessInformation->hProcess = OpenProcess(PROCESS_TERMINATE | PROCESS_QUERY_LIMITED_INFORMATION | SYNCHRONIZE, FALSE, pid);
1076+
wasProcessCreated = true;
10761077
break;
10771078
}
10781079
if (lpProcessInformation->dwProcessId)

0 commit comments

Comments
 (0)