diff --git a/game-server/app/servers/connector/handler/entryHandler.ts b/game-server/app/servers/connector/handler/entryHandler.ts index ca23a56a0..b71450dbc 100644 --- a/game-server/app/servers/connector/handler/entryHandler.ts +++ b/game-server/app/servers/connector/handler/entryHandler.ts @@ -20,6 +20,7 @@ import { gameData } from '../../../pubUtils/data'; import { getMails } from '../../../services/mailService'; import { addRoleToGuildChannel, addRoleToSysChannel, addRoleToWorldChannel, leaveGuildChannel, leaveSysChannel, leaveWorldChannel } from '../../../services/chatService'; +import { reportOnlineSchedule } from '../../../services/timeTaskService'; export default function (app: Application) { return new EntryHandler(app); } @@ -155,6 +156,7 @@ export class EntryHandler { await leaveWorldChannel(roleId, sid, serverId); await leaveGuildChannel(roleId, sid); RoleModel.updateRoleInfo(roleId, { quitTime: nowSeconds() }); + reportOnlineSchedule(); }