Skip to content

Commit

Permalink
Merge tweak(client): prefix quit command messages (mr-286)
Browse files Browse the repository at this point in the history
 - b3b7bce tweak(client): prefix quit command messages
  • Loading branch information
thorium-cfx committed Apr 26, 2024
2 parents 37cd02d + b3b7bce commit 1549555
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion code/components/gta-net-five/src/NetHook.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1450,7 +1450,7 @@ static HookFunction hookFunction([] ()

static ConsoleCommand quitCommand("quit", [](const std::string& message)
{
g_quitMsg = message;
g_quitMsg = "Quit: " + message;
ExitProcess(-1);
});

Expand Down
2 changes: 1 addition & 1 deletion code/components/gta-net-ny/src/CoreNetworkingNY.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ static HookFunction hookFunction([]()

static ConsoleCommand quitCommand("quit", [](const std::string& message)
{
g_quitMsg = message;
g_quitMsg = "Quit: " + message;
ExitProcess(-1);
});

Expand Down
2 changes: 1 addition & 1 deletion code/components/gta-net-rdr3/src/CoreNetworking.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -722,7 +722,7 @@ static HookFunction hookFunction([]()
{
static ConsoleCommand quitCommand("quit", [](const std::string& message)
{
g_quitMsg = message;
g_quitMsg = "Quit: " + message;
ExitProcess(-1);
});

Expand Down

0 comments on commit 1549555

Please sign in to comment.