diff --git a/code/components/gta-net-five/src/NetHook.cpp b/code/components/gta-net-five/src/NetHook.cpp index 42ea88eee5..ed8d1f8e5e 100644 --- a/code/components/gta-net-five/src/NetHook.cpp +++ b/code/components/gta-net-five/src/NetHook.cpp @@ -1450,7 +1450,7 @@ static HookFunction hookFunction([] () static ConsoleCommand quitCommand("quit", [](const std::string& message) { - g_quitMsg = message; + g_quitMsg = "Quit: " + message; ExitProcess(-1); }); diff --git a/code/components/gta-net-ny/src/CoreNetworkingNY.cpp b/code/components/gta-net-ny/src/CoreNetworkingNY.cpp index cf3691c901..27316c2d1d 100644 --- a/code/components/gta-net-ny/src/CoreNetworkingNY.cpp +++ b/code/components/gta-net-ny/src/CoreNetworkingNY.cpp @@ -428,7 +428,7 @@ static HookFunction hookFunction([]() static ConsoleCommand quitCommand("quit", [](const std::string& message) { - g_quitMsg = message; + g_quitMsg = "Quit: " + message; ExitProcess(-1); }); diff --git a/code/components/gta-net-rdr3/src/CoreNetworking.cpp b/code/components/gta-net-rdr3/src/CoreNetworking.cpp index 8516183224..bf5fb96045 100644 --- a/code/components/gta-net-rdr3/src/CoreNetworking.cpp +++ b/code/components/gta-net-rdr3/src/CoreNetworking.cpp @@ -722,7 +722,7 @@ static HookFunction hookFunction([]() { static ConsoleCommand quitCommand("quit", [](const std::string& message) { - g_quitMsg = message; + g_quitMsg = "Quit: " + message; ExitProcess(-1); });