We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4ef69a commit 9fd56d8Copy full SHA for 9fd56d8
Client/loader/MainFunctions.cpp
@@ -1272,6 +1272,7 @@ void HandleOnQuitCommand( void )
1272
{
1273
strOperation = "open";
1274
strFile = PathJoin( strMTASAPath, MTA_EXE_NAME );
1275
+ CheckService ( CHECK_SERVICE_RESTART_GAME );
1276
}
1277
else
1278
CheckService ( CHECK_SERVICE_POST_GAME ); // Stop service here if quit command is not 'restart'
Client/loader/Utils.h
@@ -28,6 +28,7 @@ enum
28
CHECK_SERVICE_POST_GAME = 5,
29
CHECK_SERVICE_PRE_CREATE = 6,
30
CHECK_SERVICE_POST_CREATE = 7,
31
+ CHECK_SERVICE_RESTART_GAME = 8,
32
};
33
34
#ifndef PROCESS_CREATION_MITIGATION_POLICY_IMAGE_LOAD_PREFER_SYSTEM32_ALWAYS_ON
0 commit comments