From a25269bd892525e2756c29ad0f3951dc6f83a171 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=91=E5=B0=8F=E9=B8=A6?= <61354956+crowya@users.noreply.github.com> Date: Fri, 28 Jul 2023 12:51:26 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A8=A1=E5=9E=8B=E5=8F=AF=E4=BB=A5=E7=99=BD?= =?UTF-8?q?=E5=A4=9C=E5=88=87=E6=8D=A2=E4=BA=86=EF=BC=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- live2d/waifu-tips.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/live2d/waifu-tips.js b/live2d/waifu-tips.js index d721b3a..c7ce071 100644 --- a/live2d/waifu-tips.js +++ b/live2d/waifu-tips.js @@ -191,7 +191,7 @@ function loadWidget() { if (modelId === null) { // 首次访问加载 指定模型 的 指定材质 const now = new Date(); - if(now.getHours()>=12 || now.getHours()<7){ + if(now.getHours()>=22 || now.getHours()<=7){ modelId = 1; // 夜间模型ID }else{ modelId = 0; // 白天模型ID