登录:修复踢人bug

This commit is contained in:
luying
2021-09-28 17:11:32 +08:00
parent dec03e1f21
commit 1a856677c7

View File

@@ -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);
}