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