From 1a856677c737f01719a0e86c574433a3b1f1f311 Mon Sep 17 00:00:00 2001 From: luying Date: Tue, 28 Sep 2021 17:11:32 +0800 Subject: [PATCH] =?UTF-8?q?=E7=99=BB=E5=BD=95=EF=BC=9A=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E8=B8=A2=E4=BA=BAbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- game-server/app/servers/connector/handler/entryHandler.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/game-server/app/servers/connector/handler/entryHandler.ts b/game-server/app/servers/connector/handler/entryHandler.ts index 61a68edf8..a34bd61a0 100644 --- a/game-server/app/servers/connector/handler/entryHandler.ts +++ b/game-server/app/servers/connector/handler/entryHandler.ts @@ -58,7 +58,7 @@ export class EntryHandler { if (connect.isOnline) { // 多地登陆踢下线 if (connect.sid = self.app.getServerId()) { - await kickUser(self.app, `${user.uid}`); + await kickUser(self.app, role.roleId); } else { await self.app.rpc.connector.connectorRemote.remoteLogin.toServer(connect.sid, role.roleId); }