Use disconnect name for client script verification fail

This commit is contained in:
Vortrex
2022-10-14 15:16:06 -05:00
parent eaac0fd1a7
commit 0b7fb7bbbd

View File

@@ -132,7 +132,7 @@ function playerClientStarted(client) {
function playerClientStopped(client) {
logToConsole(LOG_DEBUG | LOG_WARN, `[AGRP.Client] ${getPlayerDisplayForConsole(client)}'s client resources have stopped (possibly error?)`);
//getPlayerData(client).customDisconnectReason = "ClientScriptVerificationFail";
getPlayerData(client).customDisconnectReason = "ClientScriptVerificationFail";
//disconnectPlayer(client);
}