Fix client script check when changing session (IV)

This commit is contained in:
Vortrex
2022-08-13 13:06:27 -05:00
parent 808cdfc359
commit 64b5ea2fba

View File

@@ -132,9 +132,9 @@ function playerClientStarted(client) {
// ===========================================================================
function playerClientStopped(client) {
logToConsole(LOG_DEBUG, `[VRR.Client] ${getPlayerDisplayForConsole(client)}'s client resources have stopped (possibly error?). Kicking them from the server ...`);
getPlayerData(targetClient).customDisconnectReason = `Kicked - Client script verification failed. Possible hacks.`;
disconnectPlayer(client);
//logToConsole(LOG_DEBUG, `[VRR.Client] ${getPlayerDisplayForConsole(client)}'s client resources have stopped (possibly error?). Kicking them from the server ...`);
//getPlayerData(client).customDisconnectReason = `Kicked - Client script verification failed. Possible hacks.`;
//disconnectPlayer(client);
}
// ===========================================================================