From 2fcd54b09a42ab5499221e9cd4f23d8d9118a869 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:33:26 +0800 Subject: [PATCH] test --- 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 884b741..d721b3a 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()>=22 || now.getHours()<7){ + if(now.getHours()>=12 || now.getHours()<7){ modelId = 1; // 夜间模型ID }else{ modelId = 0; // 白天模型ID