From 354d8cff1adffc83b7a3c8ea70c06e8837c4d155 Mon Sep 17 00:00:00 2001 From: shanmite Date: Tue, 22 Mar 2022 15:02:59 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=8E=A8=E9=80=81=E5=BC=82=E5=B8=B8(#13?= =?UTF-8?q?2)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixed #132 --- lib/lottery.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/lottery.js b/lib/lottery.js index 4a14438..d356003 100644 --- a/lib/lottery.js +++ b/lib/lottery.js @@ -38,7 +38,7 @@ function start(num) { const lotterys = global_var.get("Lottery"); if (lotterys.length === 0) { log.info('抽奖', '抽奖信息为空'); - resolve(); + event_bus.emit('Turn_off_the_Monitor', '抽奖信息为空') return; } if (times.value() === lotterys.length) {