Use disconnect name
This commit is contained in:
@@ -187,7 +187,7 @@ function resetClientStuff(client) {
|
||||
|
||||
function kickAllClients() {
|
||||
getClients().forEach((client) => {
|
||||
getPlayerData(client).customDisconnectReason = `Kicked - All clients are being disconnected`;
|
||||
getPlayerData(client).customDisconnectReason = "ServerRestarting";
|
||||
disconnectPlayer(client);
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user