From 9392bd157e66b4a8011847d6121bc3607ab264cd Mon Sep 17 00:00:00 2001 From: luying Date: Sun, 23 Apr 2023 20:24:19 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9E=20fix(config):=20=E4=BF=AE?= =?UTF-8?q?=E5=A4=8DroleRoute=E6=9C=89=E6=97=B6=E6=B2=A1=E6=9C=89=E6=95=B0?= =?UTF-8?q?=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- game-server/app/util/dispatcher.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/game-server/app/util/dispatcher.ts b/game-server/app/util/dispatcher.ts index 64a4e1579..815259d84 100644 --- a/game-server/app/util/dispatcher.ts +++ b/game-server/app/util/dispatcher.ts @@ -23,6 +23,7 @@ export function dispatch(uid: string, connectors: ServerInfo[], serverType: stri let roleRoute = pinus.app.get('roleRoute'); if(!roleRoute) { pinus.app.set('roleRoute', new Map>()); + roleRoute = pinus.app.get('roleRoute'); } //测试代码