diff --git a/game-server/app/services/gmService.ts b/game-server/app/services/gmService.ts index 5e3a614e9..3e480f93c 100644 --- a/game-server/app/services/gmService.ts +++ b/game-server/app/services/gmService.ts @@ -82,7 +82,6 @@ async function startMarquee(marquee: MarqueeType, startJob?: Job) { } else { if(marquee.endTime > nowSeconds()) { await pushMarqueeMsg(msgDatas); - console.log('***', marquee.interval) let secondsJob = scheduleJob(`setSeconds${marquee.code}`, `*/${marquee.interval} * * * * *`, async () => { console.log(`*****setSeconds${marquee.code}****`) await pushMarqueeMsg(msgDatas); @@ -117,8 +116,8 @@ async function createMarqueeMsg(marquee: MarqueeType) { for(let { env, serverId } of receivers) { if(serverId == 0) { let servers = await ServerlistModel.findByEnv(env); - for(let { serverId } of servers) { - serverIds.push(serverId); + for(let { id } of servers) { + serverIds.push(id); } } else { serverIds.push(serverId);